#031B33#031B33

#031B33 is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.8% C 0.056 H 250.6°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#031B33
RGBrgb(3, 27, 51)
HSLhsl(210, 89%, 11%)
HSVhsv(210, 94%, 20%)
CMYKcmyk(94.1%, 47.1%, 0%, 80%)
CIE-LABlab(9.34, 1.32, -18.54)
CIE-LCHlch(9.34, 18.58, 274.07°)
OKLaboklab(21.85% -0.0186 -0.053)
OKLCHoklch(21.85% 0.056 250.6)
XYZxyz(1.0268, 1.0421, 3.2784)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031B33 #331B03
analogous
#033333 #031B33 #030333
triadic
#031B33 #33031B #1B3303
tetradic
#031B33 #330333 #331B03 #033303
square
#031B33 #330333 #331B03 #033303
split-complementary
#031B33 #330303 #333303
monochromatic
#020F1D #020F1D #031B33 #063A6D #0A58A7

Accessibility & contrast

On white

17.38
#031B33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031B33
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031B33#FFFFFF#000000##FFFFFF
##031B331.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1D34
Deuteranopia (green-blind)
#071833
Tritanopia (blue-blind)
#002124
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #031b33;
/* rgb */ color: rgb(3, 27, 51);
/* oklch */ color: oklch(21.8% 0.056 250.6);
Tailwind
colors: {
  custom: {
    50: '#4c566b',
    500: '#031b33',
    950: '#000000',
  },
}
SCSS
$custom: #031b33;
$custom-light: #4c566b;
$custom-dark: #000000;
JSON
{
  "hex": "#031b33",
  "rgb": {
    "r": 3,
    "g": 27,
    "b": 51
  },
  "hsl": {
    "h": 210,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21845,
    "c": 0.05616,
    "h": 250.6
  },
  "luminance": 0.01042
}

Semantic roles & 50–950 ramp

primary
#031B33
secondary
#76491C
accent
#9429FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #031B33

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

Preview Lab → · Contrast checker → · Palette generator →

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