#03121F#03121F

#03121F is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 17.6% C 0.035 H 244.5°. Best body text is #FFFFFF at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#03121F
RGBrgb(3, 18, 31)
HSLhsl(208, 82%, 7%)
HSVhsv(208, 90%, 12%)
CMYKcmyk(90.3%, 41.9%, 0%, 87.8%)
CIE-LABlab(4.98, -0.92, -10.42)
CIE-LCHlch(4.98, 10.46, 264.96°)
OKLaboklab(17.58% -0.0152 -0.0319)
OKLCHoklch(17.58% 0.035 244.5)
XYZxyz(0.5011, 0.5508, 1.3760)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03121F #1F1003
analogous
#031F1E #03121F #03041F
triadic
#03121F #1F0312 #121F03
tetradic
#03121F #1E031F #1F1003 #041F03
square
#03121F #1E031F #1F1003 #041F03
split-complementary
#03121F #1F0304 #1F1E03
monochromatic
#03101C #03101C #03121F #083257 #0E538F

Accessibility & contrast

On white

18.92
#03121F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#03121F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03121F
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03121F#FFFFFF#000000##FFFFFF
##03121F1.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1220
Deuteranopia (green-blind)
#080F1F
Tritanopia (blue-blind)
#001517
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #03121f;
/* rgb */ color: rgb(3, 18, 31);
/* oklch */ color: oklch(17.6% 0.035 244.5);
Tailwind
colors: {
  custom: {
    50: '#47505a',
    500: '#03121f',
    950: '#000000',
  },
}
SCSS
$custom: #03121f;
$custom-light: #47505a;
$custom-dark: #000000;
JSON
{
  "hex": "#03121f",
  "rgb": {
    "r": 3,
    "g": 18,
    "b": 31
  },
  "hsl": {
    "h": 207.857,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.17584,
    "c": 0.03534,
    "h": 244.5
  },
  "luminance": 0.00551
}

Semantic roles & 50–950 ramp

primary
#03121F
secondary
#633C1B
accent
#8D2FF9
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #03121F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#03121F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva