#031E3B#031E3B

#031E3B is a very dark, moderate cyan. Relative luminance 0.013; OKLCH L 23.3% C 0.065 H 252.7°. Best body text is #FFFFFF at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#031E3B
RGBrgb(3, 30, 59)
HSLhsl(211, 90%, 12%)
HSVhsv(211, 95%, 23%)
CMYKcmyk(94.9%, 49.2%, 0%, 76.9%)
CIE-LABlab(11.02, 2.84, -21.59)
CIE-LCHlch(11.02, 21.78, 277.49°)
OKLaboklab(23.35% -0.0193 -0.0619)
OKLCHoklch(23.35% 0.065 252.7)
XYZxyz(1.2909, 1.2635, 4.3127)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031E3B #3B2003
analogous
#033A3B #031E3B #04033B
triadic
#031E3B #3B031E #1E3B03
tetradic
#031E3B #3B033A #3B2003 #033B04
square
#031E3B #3B033A #3B2003 #033B04
split-complementary
#031E3B #3B0403 #3A3B03
monochromatic
#010F1D #010F1D #031E3B #063C75 #0959AF

Accessibility & contrast

On white

16.76
#031E3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#031E3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031E3B
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031E3B#FFFFFF#000000##FFFFFF
##031E3B1.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F203C
Deuteranopia (green-blind)
#051B3A
Tritanopia (blue-blind)
#002529
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #031e3b;
/* rgb */ color: rgb(3, 30, 59);
/* oklch */ color: oklch(23.3% 0.065 252.7);
Tailwind
colors: {
  custom: {
    50: '#4e5971',
    500: '#031e3b',
    950: '#000000',
  },
}
SCSS
$custom: #031e3b;
$custom-light: #4e5971;
$custom-dark: #000000;
JSON
{
  "hex": "#031e3b",
  "rgb": {
    "r": 3,
    "g": 30,
    "b": 59
  },
  "hsl": {
    "h": 211.071,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23345,
    "c": 0.06484,
    "h": 252.7
  },
  "luminance": 0.01264
}

Semantic roles & 50–950 ramp

primary
#031E3B
secondary
#7E4F1C
accent
#9829FF
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #031E3B

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

Preview Lab → · Contrast checker → · Palette generator →

#031E3B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva