#031739#031739

#031739 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.3% C 0.072 H 259.2°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#031739
RGBrgb(3, 23, 57)
HSLhsl(218, 90%, 12%)
HSVhsv(218, 95%, 22%)
CMYKcmyk(94.7%, 59.6%, 0%, 77.6%)
CIE-LABlab(8.37, 7.44, -24.42)
CIE-LCHlch(8.37, 25.53, 286.93°)
OKLaboklab(21.25% -0.0134 -0.0704)
OKLCHoklch(21.25% 0.072 259.2)
XYZxyz(1.0822, 0.9274, 3.9921)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031739 #392503
analogous
#033239 #031739 #0A0339
triadic
#031739 #390317 #173903
tetradic
#031739 #390332 #392503 #03390A
square
#031739 #390332 #392503 #03390A
split-complementary
#031739 #390A03 #323903
monochromatic
#020C1D #020C1D #031739 #062E73 #0946AD

Accessibility & contrast

On white

17.71
#031739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#031739 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031739
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031739#FFFFFF#000000##FFFFFF
##0317391.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031B3A
Deuteranopia (green-blind)
#001638
Tritanopia (blue-blind)
#001F25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #031739;
/* rgb */ color: rgb(3, 23, 57);
/* oklch */ color: oklch(21.3% 0.072 259.2);
Tailwind
colors: {
  custom: {
    50: '#4e5370',
    500: '#031739',
    950: '#000000',
  },
}
SCSS
$custom: #031739;
$custom-light: #4e5370;
$custom-dark: #000000;
JSON
{
  "hex": "#031739",
  "rgb": {
    "r": 3,
    "g": 23,
    "b": 57
  },
  "hsl": {
    "h": 217.778,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2125,
    "c": 0.07168,
    "h": 259.2
  },
  "luminance": 0.00928
}

Semantic roles & 50–950 ramp

primary
#031739
secondary
#7C581C
accent
#B029FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #031739

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

Preview Lab → · Contrast checker → · Palette generator →

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