#031B34#031B34

#031B34 is a very dark, muted cyan. Relative luminance 0.011; OKLCH L 21.9% C 0.058 H 251.5°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#031B34
RGBrgb(3, 27, 52)
HSLhsl(211, 89%, 11%)
HSVhsv(211, 94%, 20%)
CMYKcmyk(94.2%, 48.1%, 0%, 79.6%)
CIE-LABlab(9.41, 1.80, -19.14)
CIE-LCHlch(9.41, 19.23, 275.38°)
OKLaboklab(21.93% -0.0183 -0.0548)
OKLCHoklch(21.93% 0.058 251.5)
XYZxyz(1.0491, 1.0510, 3.3957)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031B34 #341C03
analogous
#033334 #031B34 #030334
triadic
#031B34 #34031B #1B3403
tetradic
#031B34 #340333 #341C03 #033403
square
#031B34 #340333 #341C03 #033403
split-complementary
#031B34 #340303 #333403
monochromatic
#020F1D #020F1D #031B34 #06396E #0A57A8

Accessibility & contrast

On white

17.35
#031B34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031B34
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031B34#FFFFFF#000000##FFFFFF
##031B341.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #031b34;
/* rgb */ color: rgb(3, 27, 52);
/* oklch */ color: oklch(21.9% 0.058 251.5);
Tailwind
colors: {
  custom: {
    50: '#4c566b',
    500: '#031b34',
    950: '#000000',
  },
}
SCSS
$custom: #031b34;
$custom-light: #4c566b;
$custom-dark: #000000;
JSON
{
  "hex": "#031b34",
  "rgb": {
    "r": 3,
    "g": 27,
    "b": 52
  },
  "hsl": {
    "h": 210.612,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21925,
    "c": 0.05776,
    "h": 251.5
  },
  "luminance": 0.01051
}

Semantic roles & 50–950 ramp

primary
#031B34
secondary
#774A1C
accent
#9629FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #031B34

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

Preview Lab → · Contrast checker → · Palette generator →

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