#031A36#031A36

#031A36 is a very dark, moderate cyan. Relative luminance 0.010; OKLCH L 21.8% C 0.062 H 254.4°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#031A36
RGBrgb(3, 26, 54)
HSLhsl(213, 89%, 11%)
HSVhsv(213, 94%, 21%)
CMYKcmyk(94.4%, 51.9%, 0%, 78.8%)
CIE-LABlab(9.19, 3.56, -20.94)
CIE-LCHlch(9.19, 21.24, 279.65°)
OKLaboklab(21.8% -0.0168 -0.0601)
OKLCHoklch(21.8% 0.062 254.4)
XYZxyz(1.0726, 1.0244, 3.6305)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031A36 #361F03
analogous
#033336 #031A36 #050336
triadic
#031A36 #36031A #1A3603
tetradic
#031A36 #360333 #361F03 #033605
square
#031A36 #360333 #361F03 #033605
split-complementary
#031A36 #360503 #333603
monochromatic
#020E1D #020E1D #031A36 #063670 #0952AA

Accessibility & contrast

On white

17.43
#031A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#031A36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031A36
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031A36#FFFFFF#000000##FFFFFF
##031A361.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1C37
Deuteranopia (green-blind)
#031835
Tritanopia (blue-blind)
#002125
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #031a36;
/* rgb */ color: rgb(3, 26, 54);
/* oklch */ color: oklch(21.8% 0.062 254.4);
Tailwind
colors: {
  custom: {
    50: '#4d556d',
    500: '#031a36',
    950: '#000000',
  },
}
SCSS
$custom: #031a36;
$custom-light: #4d556d;
$custom-dark: #000000;
JSON
{
  "hex": "#031a36",
  "rgb": {
    "r": 3,
    "g": 26,
    "b": 54
  },
  "hsl": {
    "h": 212.941,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21804,
    "c": 0.06237,
    "h": 254.4
  },
  "luminance": 0.01024
}

Semantic roles & 50–950 ramp

primary
#031A36
secondary
#794F1C
accent
#9E29FF
background
#F4F4F6
surface
#E7E8EB
border
#C3C4C6
text
#010307
muted
#77787A

Preview Lab

Preview with #031A36

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

Preview Lab → · Contrast checker → · Palette generator →

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