#031C36#031C36

#031C36 is a very dark, muted cyan. Relative luminance 0.011; OKLCH L 22.4% C 0.060 H 251.7°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#031C36
RGBrgb(3, 28, 54)
HSLhsl(211, 89%, 11%)
HSVhsv(211, 94%, 21%)
CMYKcmyk(94.4%, 48.1%, 0%, 78.8%)
CIE-LABlab(9.92, 1.99, -19.77)
CIE-LCHlch(9.92, 19.87, 275.74°)
OKLaboklab(22.37% -0.0187 -0.0566)
OKLCHoklch(22.37% 0.06 251.7)
XYZxyz(1.1184, 1.1161, 3.6458)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031C36 #361D03
analogous
#033536 #031C36 #030336
triadic
#031C36 #36031C #1C3603
tetradic
#031C36 #360335 #361D03 #033603
square
#031C36 #360335 #361D03 #033603
split-complementary
#031C36 #360303 #353603
monochromatic
#020F1D #020F1D #031C36 #063A70 #0958AA

Accessibility & contrast

On white

17.17
#031C36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#031C36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031C36
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031C36#FFFFFF#000000##FFFFFF
##031C361.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1E37
Deuteranopia (green-blind)
#061935
Tritanopia (blue-blind)
#002226
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #031c36;
/* rgb */ color: rgb(3, 28, 54);
/* oklch */ color: oklch(22.4% 0.060 251.7);
Tailwind
colors: {
  custom: {
    50: '#4d576d',
    500: '#031c36',
    950: '#000000',
  },
}
SCSS
$custom: #031c36;
$custom-light: #4d576d;
$custom-dark: #000000;
JSON
{
  "hex": "#031c36",
  "rgb": {
    "r": 3,
    "g": 28,
    "b": 54
  },
  "hsl": {
    "h": 210.588,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22373,
    "c": 0.0596,
    "h": 251.7
  },
  "luminance": 0.01116
}

Semantic roles & 50–950 ramp

primary
#031C36
secondary
#794B1C
accent
#9629FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010307
muted
#77787A

Preview Lab

Preview with #031C36

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

Preview Lab → · Contrast checker → · Palette generator →

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