#031439#031439

#031439 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.5% C 0.076 H 261.6°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#031439
RGBrgb(3, 20, 57)
HSLhsl(221, 90%, 12%)
HSVhsv(221, 95%, 22%)
CMYKcmyk(94.7%, 64.9%, 0%, 77.6%)
CIE-LABlab(7.36, 9.81, -26.06)
CIE-LCHlch(7.36, 27.85, 290.63°)
OKLaboklab(20.47% -0.0111 -0.0754)
OKLCHoklch(20.47% 0.076 261.6)
XYZxyz(1.0260, 0.8149, 3.9733)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031439 #392803
analogous
#032F39 #031439 #0D0339
triadic
#031439 #390314 #143903
tetradic
#031439 #39032F #392803 #03390D
square
#031439 #39032F #392803 #03390D
split-complementary
#031439 #390D03 #2F3903
monochromatic
#020A1D #020A1D #031439 #062873 #093DAD

Accessibility & contrast

On white

18.06
#031439 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#031439 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031439
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031439#FFFFFF#000000##FFFFFF
##0314391.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193A
Deuteranopia (green-blind)
#001438
Tritanopia (blue-blind)
#001D24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #031439;
/* rgb */ color: rgb(3, 20, 57);
/* oklch */ color: oklch(20.5% 0.076 261.6);
Tailwind
colors: {
  custom: {
    50: '#4e5070',
    500: '#031439',
    950: '#000000',
  },
}
SCSS
$custom: #031439;
$custom-light: #4e5070;
$custom-dark: #000000;
JSON
{
  "hex": "#031439",
  "rgb": {
    "r": 3,
    "g": 20,
    "b": 57
  },
  "hsl": {
    "h": 221.111,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20468,
    "c": 0.0762,
    "h": 261.6
  },
  "luminance": 0.00815
}

Semantic roles & 50–950 ramp

primary
#031439
secondary
#7C5E1C
accent
#BC29FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #031439

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

Preview Lab → · Contrast checker → · Palette generator →

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