#031A3A#031A3A

#031A3A is a very dark, moderate cyan. Relative luminance 0.011; OKLCH L 22.2% C 0.069 H 256.7°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#031A3A
RGBrgb(3, 26, 58)
HSLhsl(215, 90%, 12%)
HSVhsv(215, 95%, 23%)
CMYKcmyk(94.8%, 55.2%, 0%, 77.3%)
CIE-LABlab(9.51, 5.51, -23.30)
CIE-LCHlch(9.51, 23.94, 283.29°)
OKLaboklab(22.15% -0.0158 -0.067)
OKLCHoklch(22.15% 0.069 256.7)
XYZxyz(1.1704, 1.0635, 4.1458)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031A3A #3A2303
analogous
#03363A #031A3A #08033A
triadic
#031A3A #3A031A #1A3A03
tetradic
#031A3A #3A0336 #3A2303 #033A08
square
#031A3A #3A0336 #3A2303 #033A08
split-complementary
#031A3A #3A0803 #363A03
monochromatic
#020D1D #020D1D #031A3A #063474 #094EAE

Accessibility & contrast

On white

17.32
#031A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#031A3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031A3A
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031A3A#FFFFFF#000000##FFFFFF
##031A3A1.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081D3B
Deuteranopia (green-blind)
#001839
Tritanopia (blue-blind)
#002227
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #031a3a;
/* rgb */ color: rgb(3, 26, 58);
/* oklch */ color: oklch(22.2% 0.069 256.7);
Tailwind
colors: {
  custom: {
    50: '#4e5570',
    500: '#031a3a',
    950: '#000000',
  },
}
SCSS
$custom: #031a3a;
$custom-light: #4e5570;
$custom-dark: #000000;
JSON
{
  "hex": "#031a3a",
  "rgb": {
    "r": 3,
    "g": 26,
    "b": 58
  },
  "hsl": {
    "h": 214.909,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22151,
    "c": 0.06888,
    "h": 256.7
  },
  "luminance": 0.01064
}

Semantic roles & 50–950 ramp

primary
#031A3A
secondary
#7D541C
accent
#A529FF
background
#F4F4F6
surface
#E7E8EC
border
#C3C4C7
text
#020307
muted
#78787A

Preview Lab

Preview with #031A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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