#031639#031639

#031639 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.0% C 0.073 H 260.1°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#031639
RGBrgb(3, 22, 57)
HSLhsl(219, 90%, 12%)
HSVhsv(219, 95%, 22%)
CMYKcmyk(94.7%, 61.4%, 0%, 77.6%)
CIE-LABlab(8.03, 8.25, -24.98)
CIE-LCHlch(8.03, 26.31, 288.27°)
OKLaboklab(20.99% -0.0126 -0.0721)
OKLCHoklch(20.99% 0.073 260.1)
XYZxyz(1.0627, 0.8885, 3.9856)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031639 #392603
analogous
#033139 #031639 #0B0339
triadic
#031639 #390316 #163903
tetradic
#031639 #390331 #392603 #03390B
square
#031639 #390331 #392603 #03390B
split-complementary
#031639 #390B03 #313903
monochromatic
#020B1D #020B1D #031639 #062C73 #0943AD

Accessibility & contrast

On white

17.83
#031639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#031639 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031639
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031639#FFFFFF#000000##FFFFFF
##0316391.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011A3A
Deuteranopia (green-blind)
#001538
Tritanopia (blue-blind)
#001F24
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #031639;
/* rgb */ color: rgb(3, 22, 57);
/* oklch */ color: oklch(21.0% 0.073 260.1);
Tailwind
colors: {
  custom: {
    50: '#4e5270',
    500: '#031639',
    950: '#000000',
  },
}
SCSS
$custom: #031639;
$custom-light: #4e5270;
$custom-dark: #000000;
JSON
{
  "hex": "#031639",
  "rgb": {
    "r": 3,
    "g": 22,
    "b": 57
  },
  "hsl": {
    "h": 218.889,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20986,
    "c": 0.07318,
    "h": 260.1
  },
  "luminance": 0.00889
}

Semantic roles & 50–950 ramp

primary
#031639
secondary
#7C5A1C
accent
#B429FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #031639

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

Preview Lab → · Contrast checker → · Palette generator →

#031639 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva