#031B36#031B36

#031B36 is a very dark, moderate cyan. Relative luminance 0.011; OKLCH L 22.1% C 0.061 H 253.1°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#031B36
RGBrgb(3, 27, 54)
HSLhsl(212, 89%, 11%)
HSVhsv(212, 94%, 21%)
CMYKcmyk(94.4%, 50%, 0%, 78.8%)
CIE-LABlab(9.56, 2.77, -20.35)
CIE-LCHlch(9.56, 20.54, 277.75°)
OKLaboklab(22.09% -0.0177 -0.0583)
OKLCHoklch(22.09% 0.061 253.1)
XYZxyz(1.0951, 1.0694, 3.6380)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031B36 #361E03
analogous
#033436 #031B36 #040336
triadic
#031B36 #36031B #1B3603
tetradic
#031B36 #360334 #361E03 #033604
square
#031B36 #360334 #361E03 #033604
split-complementary
#031B36 #360403 #343603
monochromatic
#020E1D #020E1D #031B36 #063870 #0955AA

Accessibility & contrast

On white

17.30
#031B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031B36
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031B36#FFFFFF#000000##FFFFFF
##031B361.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1D37
Deuteranopia (green-blind)
#041835
Tritanopia (blue-blind)
#002125
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #031b36;
/* rgb */ color: rgb(3, 27, 54);
/* oklch */ color: oklch(22.1% 0.061 253.1);
Tailwind
colors: {
  custom: {
    50: '#4d566d',
    500: '#031b36',
    950: '#000000',
  },
}
SCSS
$custom: #031b36;
$custom-light: #4d566d;
$custom-dark: #000000;
JSON
{
  "hex": "#031b36",
  "rgb": {
    "r": 3,
    "g": 27,
    "b": 54
  },
  "hsl": {
    "h": 211.765,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22087,
    "c": 0.06097,
    "h": 253.1
  },
  "luminance": 0.0107
}

Semantic roles & 50–950 ramp

primary
#031B36
secondary
#794D1C
accent
#9A29FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020307
muted
#78787A

Preview Lab

Preview with #031B36

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

Preview Lab → · Contrast checker → · Palette generator →

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