#031B3B#031B3B

#031B3B is a very dark, moderate cyan. Relative luminance 0.011; OKLCH L 22.5% C 0.069 H 256.2°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#031B3B
RGBrgb(3, 27, 59)
HSLhsl(214, 90%, 12%)
HSVhsv(214, 95%, 23%)
CMYKcmyk(94.9%, 54.2%, 0%, 76.9%)
CIE-LABlab(9.94, 5.20, -23.32)
CIE-LCHlch(9.94, 23.89, 282.56°)
OKLaboklab(22.51% -0.0165 -0.067)
OKLCHoklch(22.51% 0.069 256.2)
XYZxyz(1.2186, 1.1188, 4.2886)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031B3B #3B2303
analogous
#03373B #031B3B #07033B
triadic
#031B3B #3B031B #1B3B03
tetradic
#031B3B #3B0337 #3B2303 #033B07
square
#031B3B #3B0337 #3B2303 #033B07
split-complementary
#031B3B #3B0703 #373B03
monochromatic
#010D1D #010D1D #031B3B #063675 #0950AF

Accessibility & contrast

On white

17.16
#031B3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031B3B
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031B3B#FFFFFF#000000##FFFFFF
##031B3B1.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091E3C
Deuteranopia (green-blind)
#00193A
Tritanopia (blue-blind)
#002328
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #031b3b;
/* rgb */ color: rgb(3, 27, 59);
/* oklch */ color: oklch(22.5% 0.069 256.2);
Tailwind
colors: {
  custom: {
    50: '#4e5671',
    500: '#031b3b',
    950: '#000000',
  },
}
SCSS
$custom: #031b3b;
$custom-light: #4e5671;
$custom-dark: #000000;
JSON
{
  "hex": "#031b3b",
  "rgb": {
    "r": 3,
    "g": 27,
    "b": 59
  },
  "hsl": {
    "h": 214.286,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22513,
    "c": 0.06905,
    "h": 256.2
  },
  "luminance": 0.01119
}

Semantic roles & 50–950 ramp

primary
#031B3B
secondary
#7E541C
accent
#A329FF
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #031B3B

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

Preview Lab → · Contrast checker → · Palette generator →

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