#031C39#031C39

#031C39 is a very dark, moderate cyan. Relative luminance 0.011; OKLCH L 22.6% C 0.064 H 253.9°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#031C39
RGBrgb(3, 28, 57)
HSLhsl(212, 90%, 12%)
HSVhsv(212, 95%, 22%)
CMYKcmyk(94.7%, 50.9%, 0%, 77.6%)
CIE-LABlab(10.15, 3.44, -21.56)
CIE-LCHlch(10.15, 21.84, 279.05°)
OKLaboklab(22.62% -0.0179 -0.0619)
OKLCHoklch(22.62% 0.064 253.9)
XYZxyz(1.1910, 1.1451, 4.0284)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031C39 #392003
analogous
#033739 #031C39 #050339
triadic
#031C39 #39031C #1C3903
tetradic
#031C39 #390337 #392003 #033905
square
#031C39 #390337 #392003 #033905
split-complementary
#031C39 #390503 #373903
monochromatic
#020E1D #020E1D #031C39 #063973 #0955AD

Accessibility & contrast

On white

17.09
#031C39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#031C39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031C39
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031C39#FFFFFF#000000##FFFFFF
##031C391.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1E3A
Deuteranopia (green-blind)
#031938
Tritanopia (blue-blind)
#002327
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #031c39;
/* rgb */ color: rgb(3, 28, 57);
/* oklch */ color: oklch(22.6% 0.064 253.9);
Tailwind
colors: {
  custom: {
    50: '#4d576f',
    500: '#031c39',
    950: '#000000',
  },
}
SCSS
$custom: #031c39;
$custom-light: #4d576f;
$custom-dark: #000000;
JSON
{
  "hex": "#031c39",
  "rgb": {
    "r": 3,
    "g": 28,
    "b": 57
  },
  "hsl": {
    "h": 212.222,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22619,
    "c": 0.0644,
    "h": 253.9
  },
  "luminance": 0.01145
}

Semantic roles & 50–950 ramp

primary
#031C39
secondary
#7C4F1C
accent
#9C29FF
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #031C39

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

Preview Lab → · Contrast checker → · Palette generator →

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