Soracom

Design System

Colors

Our color palette uses accents of bright colors backed by an overall neutral tone.

Color swatches

Celeste dim

Class: --color-celeste-dim

Class (Fixed): --color-celeste-950

OKLCH: oklch(24.08% 0.0463 201.68deg)

HEX: #002629

WCAG text contrast

Celeste darkest

Class: --color-celeste-darkest

Class (Fixed): --color-celeste-900

OKLCH: oklch(33.4% 0.056 201.68deg)

HEX: #023f43

WCAG text contrast

Celeste darker

Class: --color-celeste-darker

Class (Fixed): --color-celeste-800

OKLCH: oklch(44.27% 0.0755 201.68deg)

HEX: #005f65

WCAG text contrast

Celeste dark

Class: --color-celeste-dark

Class (Fixed): --color-celeste-700

OKLCH: oklch(55.5% 0.095 201.68deg)

HEX: #00838a

WCAG text contrast

Celeste shade

Class: --color-celeste-shade

Class (Fixed): --color-celeste-600

OKLCH: oklch(68.35% 0.1121 201.68deg)

HEX: #1badb6

WCAG text contrast

Celeste

Class: --color-celeste

OKLCH: oklch(77.67% 0.1218 201.68deg)

HEX: #34cdd7

WCAG text contrast

Celeste tint

Class: --color-celeste-tint

Class (Fixed): --color-celeste-400

OKLCH: oklch(82.58% 0.1121 201.68deg)

HEX: #5cdce5

WCAG text contrast

Celeste light

Class: --color-celeste-light

Class (Fixed): --color-celeste-300

OKLCH: oklch(87.05% 0.0901 201.68deg)

HEX: #88e6ed

WCAG text contrast

Celeste lighter

Class: --color-celeste-lighter

Class (Fixed): --color-celeste-200

OKLCH: oklch(91.51% 0.0609 201.68deg)

HEX: #b3f0f4

WCAG text contrast

Celeste lightest

Class: --color-celeste-lightest

Class (Fixed): --color-celeste-100

OKLCH: oklch(95.53% 0.0341 201.68deg)

HEX: #d7f8fa

WCAG text contrast

Celeste bright

Class: --color-celeste-bright

Class (Fixed): --color-celeste-50

OKLCH: oklch(98.21% 0.0171 201.68deg)

HEX: #edfdfe

WCAG text contrast

Ink dim

Class: --color-ink-dim

Class (Fixed): --color-ink-950

OKLCH: oklch(19.41% 0.0146 248.46deg)

HEX: #10151b

WCAG text contrast

Ink darkest

Class: --color-ink-darkest

Class (Fixed): --color-ink-900

OKLCH: oklch(26.92% 0.0177 248.46deg)

HEX: #20272f

WCAG text contrast

Ink darker

Class: --color-ink-darker

Class (Fixed): --color-ink-800

OKLCH: oklch(35.68% 0.0238 248.46deg)

HEX: #333e48

WCAG text contrast

Ink dark

Class: --color-ink-dark

Class (Fixed): --color-ink-700

OKLCH: oklch(45.07% 0.03 248.46deg)

HEX: #495766

WCAG text contrast

Ink shade

Class: --color-ink-shade

Class (Fixed): --color-ink-600

OKLCH: oklch(55.09% 0.0353 248.46deg)

HEX: #627486

WCAG text contrast

Ink

Class: --color-ink

OKLCH: oklch(62.6% 0.0384 248.46deg)

HEX: #768a9f

WCAG text contrast

Ink tint

Class: --color-ink-tint

Class (Fixed): --color-ink-400

OKLCH: oklch(70.83% 0.0353 248.46deg)

HEX: #90a3b7

WCAG text contrast

Ink light

Class: --color-ink-light

Class (Fixed): --color-ink-300

OKLCH: oklch(78.31% 0.0284 248.46deg)

HEX: #abbaca

WCAG text contrast

Ink lighter

Class: --color-ink-lighter

Class (Fixed): --color-ink-200

OKLCH: oklch(85.79% 0.0192 248.46deg)

HEX: #c7d2dd

WCAG text contrast

Ink lightest

Class: --color-ink-lightest

Class (Fixed): --color-ink-100

OKLCH: oklch(92.52% 0.0108 248.46deg)

HEX: #e1e7ed

WCAG text contrast

Ink bright

Class: --color-ink-bright

Class (Fixed): --color-ink-50

OKLCH: oklch(97.01% 0.0054 248.46deg)

HEX: #f2f5f9

WCAG text contrast

Gray dim

Class: --color-gray-dim

Class (Fixed): --color-gray-950

OKLCH: oklch(16.86% 0.0066 298.27deg)

HEX: #0f0f12

WCAG text contrast

Gray darkest

Class: --color-gray-darkest

Class (Fixed): --color-gray-900

OKLCH: oklch(23.39% 0.008 298.27deg)

HEX: #1e1d21

WCAG text contrast

Gray darker

Class: --color-gray-darker

Class (Fixed): --color-gray-800

OKLCH: oklch(31.01% 0.0108 298.27deg)

HEX: #312f35

WCAG text contrast

Gray dark

Class: --color-gray-dark

Class (Fixed): --color-gray-700

OKLCH: oklch(39.17% 0.0136 298.27deg)

HEX: #46444c

WCAG text contrast

Gray shade

Class: --color-gray-shade

Class (Fixed): --color-gray-600

OKLCH: oklch(47.87% 0.016 298.27deg)

HEX: #5e5b65

WCAG text contrast

Gray

Class: --color-gray

OKLCH: oklch(56.4% 0.0174 298.27deg)

HEX: #77747f

WCAG text contrast

Gray tint

Class: --color-gray-tint

Class (Fixed): --color-gray-400

OKLCH: oklch(64.43% 0.016 298.27deg)

HEX: #8e8b96

WCAG text contrast

Gray light

Class: --color-gray-light

Class (Fixed): --color-gray-300

OKLCH: oklch(73.55% 0.0129 298.27deg)

HEX: #aaa8b1

WCAG text contrast

Gray lighter

Class: --color-gray-lighter

Class (Fixed): --color-gray-200

OKLCH: oklch(82.67% 0.0087 298.27deg)

HEX: #c7c5cb

WCAG text contrast

Gray lightest

Class: --color-gray-lightest

Class (Fixed): --color-gray-100

OKLCH: oklch(90.88% 0.0049 298.27deg)

HEX: #e1e0e4

WCAG text contrast

Gray bright

Class: --color-gray-bright

Class (Fixed): --color-gray-50

OKLCH: oklch(96.35% 0.0024 298.27deg)

HEX: #f3f2f4

WCAG text contrast

Mauve dim

Class: --color-mauve-dim

Class (Fixed): --color-mauve-950

OKLCH: oklch(16.62% 0.0175 299deg)

HEX: #100d15

WCAG text contrast

Mauve darkest

Class: --color-mauve-darkest

Class (Fixed): --color-mauve-900

OKLCH: oklch(23.05% 0.0212 299deg)

HEX: #1e1b26

WCAG text contrast

Mauve darker

Class: --color-mauve-darker

Class (Fixed): --color-mauve-800

OKLCH: oklch(30.55% 0.0285 299deg)

HEX: #312c3c

WCAG text contrast

Mauve dark

Class: --color-mauve-dark

Class (Fixed): --color-mauve-700

OKLCH: oklch(38.59% 0.0359 299deg)

HEX: #464055

WCAG text contrast

Mauve shade

Class: --color-mauve-shade

Class (Fixed): --color-mauve-600

OKLCH: oklch(47.17% 0.0423 299deg)

HEX: #5e5670

WCAG text contrast

Mauve

Class: --color-mauve

OKLCH: oklch(56.6% 0.046 299deg)

HEX: #7a718e

WCAG text contrast

Mauve tint

Class: --color-mauve-tint

Class (Fixed): --color-mauve-400

OKLCH: oklch(63.81% 0.0423 299deg)

HEX: #8f86a2

WCAG text contrast

Mauve light

Class: --color-mauve-light

Class (Fixed): --color-mauve-300

OKLCH: oklch(73.09% 0.034 299deg)

HEX: #aba4bb

WCAG text contrast

Mauve lighter

Class: --color-mauve-lighter

Class (Fixed): --color-mauve-200

OKLCH: oklch(82.37% 0.023 299deg)

HEX: #c7c2d3

WCAG text contrast

Mauve lightest

Class: --color-mauve-lightest

Class (Fixed): --color-mauve-100

OKLCH: oklch(90.72% 0.0129 299deg)

HEX: #e1dfe8

WCAG text contrast

Mauve bright

Class: --color-mauve-bright

Class (Fixed): --color-mauve-50

OKLCH: oklch(96.29% 0.0064 299deg)

HEX: #f3f2f7

WCAG text contrast

Blue dim

Class: --color-blue-dim

Class (Fixed): --color-blue-950

OKLCH: oklch(17.85% 0.0935 261deg)

HEX: #000a39

WCAG text contrast

Blue darkest

Class: --color-blue-darkest

Class (Fixed): --color-blue-900

OKLCH: oklch(24.76% 0.1132 261deg)

HEX: #001a56

WCAG text contrast

Blue darker

Class: --color-blue-darker

Class (Fixed): --color-blue-800

OKLCH: oklch(32.82% 0.1525 261deg)

HEX: #002b81

WCAG text contrast

Blue dark

Class: --color-blue-dark

Class (Fixed): --color-blue-700

OKLCH: oklch(41.45% 0.1919 261deg)

HEX: #003eb1

WCAG text contrast

Blue shade

Class: --color-blue-shade

Class (Fixed): --color-blue-600

OKLCH: oklch(50.66% 0.2263 261deg)

HEX: #0055e3

WCAG text contrast

Blue

Class: --color-blue

OKLCH: oklch(57.8% 0.246 261deg)

HEX: #056aff

WCAG text contrast

Blue tint

Class: --color-blue-tint

Class (Fixed): --color-blue-400

OKLCH: oklch(66.91% 0.2263 261deg)

HEX: #3a8cff

WCAG text contrast

Blue light

Class: --color-blue-light

Class (Fixed): --color-blue-300

OKLCH: oklch(75.39% 0.182 261deg)

HEX: #6aacff

WCAG text contrast

Blue lighter

Class: --color-blue-lighter

Class (Fixed): --color-blue-200

OKLCH: oklch(83.88% 0.123 261deg)

HEX: #9ccbff

WCAG text contrast

Blue lightest

Class: --color-blue-lightest

Class (Fixed): --color-blue-100

OKLCH: oklch(91.52% 0.0689 261deg)

HEX: #c9e4ff

WCAG text contrast

Blue bright

Class: --color-blue-bright

Class (Fixed): --color-blue-50

OKLCH: oklch(96.61% 0.0344 261deg)

HEX: #e7f5ff

WCAG text contrast

Purple dim

Class: --color-purple-dim

Class (Fixed): --color-purple-950

OKLCH: oklch(15.56% 0.0589 299deg)

HEX: #100521

WCAG text contrast

Purple darkest

Class: --color-purple-darkest

Class (Fixed): --color-purple-900

OKLCH: oklch(21.58% 0.0713 299deg)

HEX: #1f0f35

WCAG text contrast

Purple darker

Class: --color-purple-darker

Class (Fixed): --color-purple-800

OKLCH: oklch(28.6% 0.0961 299deg)

HEX: #321b52

WCAG text contrast

Purple dark

Class: --color-purple-dark

Class (Fixed): --color-purple-700

OKLCH: oklch(36.13% 0.1209 299deg)

HEX: #472a73

WCAG text contrast

Purple shade

Class: --color-purple-shade

Class (Fixed): --color-purple-600

OKLCH: oklch(44.16% 0.1426 299deg)

HEX: #5f3b95

WCAG text contrast

Purple

Class: --color-purple

OKLCH: oklch(50.18% 0.155 299deg)

HEX: #714aae

WCAG text contrast

Purple tint

Class: --color-purple-tint

Class (Fixed): --color-purple-400

OKLCH: oklch(61.14% 0.1426 299deg)

HEX: #906dcc

WCAG text contrast

Purple light

Class: --color-purple-light

Class (Fixed): --color-purple-300

OKLCH: oklch(71.1% 0.1147 299deg)

HEX: #ac91df

WCAG text contrast

Purple lighter

Class: --color-purple-lighter

Class (Fixed): --color-purple-200

OKLCH: oklch(81.07% 0.0775 299deg)

HEX: #c8b7ed

WCAG text contrast

Purple lightest

Class: --color-purple-lightest

Class (Fixed): --color-purple-100

OKLCH: oklch(90.04% 0.0434 299deg)

HEX: #e2d8f8

WCAG text contrast

Purple bright

Class: --color-purple-bright

Class (Fixed): --color-purple-50

OKLCH: oklch(96.01% 0.0217 299deg)

HEX: #f3efff

WCAG text contrast

Magenta dim

Class: --color-magenta-dim

Class (Fixed): --color-magenta-950

OKLCH: oklch(19.02% 0.0868 341.38deg)

HEX: #2a001f

WCAG text contrast

Magenta darkest

Class: --color-magenta-darkest

Class (Fixed): --color-magenta-900

OKLCH: oklch(26.38% 0.105 341.38deg)

HEX: #430533

WCAG text contrast

Magenta darker

Class: --color-magenta-darker

Class (Fixed): --color-magenta-800

OKLCH: oklch(34.98% 0.1415 341.38deg)

HEX: #660a4f

WCAG text contrast

Magenta dark

Class: --color-magenta-dark

Class (Fixed): --color-magenta-700

OKLCH: oklch(44.18% 0.1781 341.38deg)

HEX: #8e126f

WCAG text contrast

Magenta shade

Class: --color-magenta-shade

Class (Fixed): --color-magenta-600

OKLCH: oklch(54% 0.21 341.38deg)

HEX: #b82391

WCAG text contrast

Magenta

Class: --color-magenta

OKLCH: oklch(59.8% 0.2283 341.38deg)

HEX: #d12da6

WCAG text contrast

Magenta tint

Class: --color-magenta-tint

Class (Fixed): --color-magenta-400

OKLCH: oklch(69.86% 0.21 341.38deg)

HEX: #ef5dc3

WCAG text contrast

Magenta light

Class: --color-magenta-light

Class (Fixed): --color-magenta-300

OKLCH: oklch(77.59% 0.1689 341.38deg)

HEX: #fd87d5

WCAG text contrast

Magenta lighter

Class: --color-magenta-lighter

Class (Fixed): --color-magenta-200

OKLCH: oklch(85.32% 0.1142 341.38deg)

HEX: #ffb1e5

WCAG text contrast

Magenta lightest

Class: --color-magenta-lightest

Class (Fixed): --color-magenta-100

OKLCH: oklch(92.27% 0.0639 341.38deg)

HEX: #ffd5f2

WCAG text contrast

Magenta bright

Class: --color-magenta-bright

Class (Fixed): --color-magenta-50

OKLCH: oklch(96.91% 0.032 341.38deg)

HEX: #ffedfb

WCAG text contrast

Red dim

Class: --color-red-dim

Class (Fixed): --color-red-950

OKLCH: oklch(18.25% 0.079 28.23deg)

HEX: #2d0000

WCAG text contrast

Red darkest

Class: --color-red-darkest

Class (Fixed): --color-red-900

OKLCH: oklch(25.31% 0.0957 28.23deg)

HEX: #460504

WCAG text contrast

Red darker

Class: --color-red-darker

Class (Fixed): --color-red-800

OKLCH: oklch(33.56% 0.129 28.23deg)

HEX: #6a0908

WCAG text contrast

Red dark

Class: --color-red-dark

Class (Fixed): --color-red-700

OKLCH: oklch(42.39% 0.1622 28.23deg)

HEX: #931110

WCAG text contrast

Red shade

Class: --color-red-shade

Class (Fixed): --color-red-600

OKLCH: oklch(51.81% 0.1914 28.23deg)

HEX: #be221d

WCAG text contrast

Red

Class: --color-red

OKLCH: oklch(58.87% 0.208 28.23deg)

HEX: #dd322b

WCAG text contrast

Red tint

Class: --color-red-tint

Class (Fixed): --color-red-400

OKLCH: oklch(67.92% 0.1914 28.23deg)

HEX: #f85d50

WCAG text contrast

Red light

Class: --color-red-light

Class (Fixed): --color-red-300

OKLCH: oklch(76.14% 0.1539 28.23deg)

HEX: #ff8879

WCAG text contrast

Red lighter

Class: --color-red-lighter

Class (Fixed): --color-red-200

OKLCH: oklch(84.37% 0.104 28.23deg)

HEX: #ffb2a6

WCAG text contrast

Red lightest

Class: --color-red-lightest

Class (Fixed): --color-red-100

OKLCH: oklch(91.77% 0.0582 28.23deg)

HEX: #ffd6ce

WCAG text contrast

Red bright

Class: --color-red-bright

Class (Fixed): --color-red-50

OKLCH: oklch(96.71% 0.0291 28.23deg)

HEX: #ffede9

WCAG text contrast

Orange dim

Class: --color-orange-dim

Class (Fixed): --color-orange-950

OKLCH: oklch(22.41% 0.0878 64deg)

HEX: #350d00

WCAG text contrast

Orange darkest

Class: --color-orange-darkest

Class (Fixed): --color-orange-900

OKLCH: oklch(31.09% 0.1063 64deg)

HEX: #531f00

WCAG text contrast

Orange darker

Class: --color-orange-darker

Class (Fixed): --color-orange-800

OKLCH: oklch(41.21% 0.1432 64deg)

HEX: #7d3200

WCAG text contrast

Orange dark

Class: --color-orange-dark

Class (Fixed): --color-orange-700

OKLCH: oklch(52.06% 0.1802 64deg)

HEX: #ac4800

WCAG text contrast

Orange shade

Class: --color-orange-shade

Class (Fixed): --color-orange-600

OKLCH: oklch(63.62% 0.2125 64deg)

HEX: #de6200

WCAG text contrast

Orange

Class: --color-orange

OKLCH: oklch(72.3% 0.231 64deg)

HEX: #ff7900

WCAG text contrast

Orange tint

Class: --color-orange-tint

Class (Fixed): --color-orange-400

OKLCH: oklch(78.39% 0.2125 64deg)

HEX: #ff9300

WCAG text contrast

Orange light

Class: --color-orange-light

Class (Fixed): --color-orange-300

OKLCH: oklch(83.93% 0.1709 64deg)

HEX: #ffaf3a

WCAG text contrast

Orange lighter

Class: --color-orange-lighter

Class (Fixed): --color-orange-200

OKLCH: oklch(89.47% 0.1155 64deg)

HEX: #ffcc89

WCAG text contrast

Orange lightest

Class: --color-orange-lightest

Class (Fixed): --color-orange-100

OKLCH: oklch(94.46% 0.0647 64deg)

HEX: #ffe4c0

WCAG text contrast

Orange bright

Class: --color-orange-bright

Class (Fixed): --color-orange-50

OKLCH: oklch(97.78% 0.0323 64deg)

HEX: #fff4e2

WCAG text contrast

Yellow dim

Class: --color-yellow-dim

Class (Fixed): --color-yellow-950

OKLCH: oklch(27.61% 0.0697 96.19deg)

HEX: #322700

WCAG text contrast

Yellow darkest

Class: --color-yellow-darkest

Class (Fixed): --color-yellow-900

OKLCH: oklch(38.3% 0.0843 96.19deg)

HEX: #514200

WCAG text contrast

Yellow darker

Class: --color-yellow-darker

Class (Fixed): --color-yellow-800

OKLCH: oklch(50.77% 0.1136 96.19deg)

HEX: #796400

WCAG text contrast

Yellow dark

Class: --color-yellow-dark

Class (Fixed): --color-yellow-700

OKLCH: oklch(64.13% 0.143 96.19deg)

HEX: #a68b00

WCAG text contrast

Yellow shade

Class: --color-yellow-shade

Class (Fixed): --color-yellow-600

OKLCH: oklch(78.38% 0.1686 96.19deg)

HEX: #d9b700

WCAG text contrast

Yellow

Class: --color-yellow

OKLCH: oklch(89.07% 0.1833 96.19deg)

HEX: #ffd900

WCAG text contrast

Yellow tint

Class: --color-yellow-tint

Class (Fixed): --color-yellow-400

OKLCH: oklch(91.47% 0.1686 96.19deg)

HEX: #ffe245

WCAG text contrast

Yellow light

Class: --color-yellow-light

Class (Fixed): --color-yellow-300

OKLCH: oklch(93.66% 0.1356 96.19deg)

HEX: #ffea79

WCAG text contrast

Yellow lighter

Class: --color-yellow-lighter

Class (Fixed): --color-yellow-200

OKLCH: oklch(95.85% 0.0916 96.19deg)

HEX: #fff2aa

WCAG text contrast

Yellow lightest

Class: --color-yellow-lightest

Class (Fixed): --color-yellow-100

OKLCH: oklch(97.81% 0.0513 96.19deg)

HEX: #fff9d2

WCAG text contrast

Yellow bright

Class: --color-yellow-bright

Class (Fixed): --color-yellow-50

OKLCH: oklch(99.13% 0.0257 96.19deg)

HEX: #fffde9

WCAG text contrast

Green dim

Class: --color-green-dim

Class (Fixed): --color-green-950

OKLCH: oklch(18.29% 0.073 159deg)

HEX: #001b05

WCAG text contrast

Green darkest

Class: --color-green-darkest

Class (Fixed): --color-green-900

OKLCH: oklch(25.37% 0.0883 159deg)

HEX: #002e11

WCAG text contrast

Green darker

Class: --color-green-darker

Class (Fixed): --color-green-800

OKLCH: oklch(33.63% 0.119 159deg)

HEX: #00481e

WCAG text contrast

Green dark

Class: --color-green-dark

Class (Fixed): --color-green-700

OKLCH: oklch(42.48% 0.1498 159deg)

HEX: #00652d

WCAG text contrast

Green shade

Class: --color-green-shade

Class (Fixed): --color-green-600

OKLCH: oklch(51.92% 0.1766 159deg)

HEX: #008540

WCAG text contrast

Green

Class: --color-green

OKLCH: oklch(59% 0.192 159deg)

HEX: #009d50

WCAG text contrast

Green tint

Class: --color-green-tint

Class (Fixed): --color-green-400

OKLCH: oklch(68.02% 0.1766 159deg)

HEX: #00b86f

WCAG text contrast

Green light

Class: --color-green-light

Class (Fixed): --color-green-300

OKLCH: oklch(76.22% 0.1421 159deg)

HEX: #50cd90

WCAG text contrast

Green lighter

Class: --color-green-lighter

Class (Fixed): --color-green-200

OKLCH: oklch(84.42% 0.096 159deg)

HEX: #94dfb5

WCAG text contrast

Green lightest

Class: --color-green-lightest

Class (Fixed): --color-green-100

OKLCH: oklch(91.8% 0.0538 159deg)

HEX: #c7f0d7

WCAG text contrast

Green bright

Class: --color-green-bright

Class (Fixed): --color-green-50

OKLCH: oklch(96.72% 0.0269 159deg)

HEX: #e6faee

WCAG text contrast

WCAG text contrast

WCAG text contrast results compare each swatch color as text against the light and dark --color-background surfaces. The AA ratio text uses the swatch color by default. Hover over a panel that does not pass AA for normal text to show its ratio text in black or white for readability.

Pass means the pairing reaches 4.5:1 for normal text. Large only means it reaches 3:1 for large text, but does not pass for normal text. Large text is at least 24px regular or 18⅔px bold. Ratings use the unrounded ratio. See the WCAG AA guidance.

Colors should only be used if it is decorative only (i.e. do not use the –color-red if it is an alert/error, use the visual state instead).

Naming

  • 950 dim
  • 900 darkest
  • 800 darker
  • 700 dark
  • 600 shade
  • 500 (base color)
  • 400 mid
  • 300 light
  • 200 lighter
  • 100 lightest
  • 050 bright

Applying colors

HTML/CSS

When applying colors using HTML classes or CSS vars:

  • Colors referenced using a named suffix are dynamic and will changed to the contrasting color if dark mode is enabled:
    --color-ink-darkest
  • Colors referenced using a numbered suffix are fixed and do not change if dark mode is enabled:
    --color-ink-900

It is always preferable to use the named suffix.

html
Copy

Javascript

You can load the SDS colors as a javascript module by using:

// Import the SDS color and color list modules
import { dsColor, dsColorList } from 'https://assets.soracom.io/sds/latest/ds-color/index.mjs';

Alternatively, you can import the SDS color module from:

Once imported, the colors can be referenced using the following syntax:

// OKLCH
dsColor.red.oklch;
dsColor.redTint.oklch;

// RGB
dsColor.red.rgb;
dsColor.redTint.rgb;

// Array of SDS light colors
dsColorList.light;