#031437#031437

#031437 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.3% C 0.073 H 261.1°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#031437
RGBrgb(3, 20, 55)
HSLhsl(220, 90%, 11%)
HSVhsv(220, 95%, 22%)
CMYKcmyk(94.5%, 63.6%, 0%, 78.4%)
CIE-LABlab(7.18, 8.78, -24.90)
CIE-LCHlch(7.18, 26.40, 289.43°)
OKLaboklab(20.27% -0.0113 -0.072)
OKLCHoklch(20.27% 0.073 261.1)
XYZxyz(0.9770, 0.7954, 3.7157)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031437 #372603
analogous
#032E37 #031437 #0C0337
triadic
#031437 #370314 #143703
tetradic
#031437 #37032E #372603 #03370C
square
#031437 #37032E #372603 #03370C
split-complementary
#031437 #370C03 #2E3703
monochromatic
#020B1D #020B1D #031437 #062971 #093EAB

Accessibility & contrast

On white

18.12
#031437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031437
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031437#FFFFFF#000000##FFFFFF
##0314371.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001838
Deuteranopia (green-blind)
#001436
Tritanopia (blue-blind)
#001D23
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #031437;
/* rgb */ color: rgb(3, 20, 55);
/* oklch */ color: oklch(20.3% 0.073 261.1);
Tailwind
colors: {
  custom: {
    50: '#4d506e',
    500: '#031437',
    950: '#000000',
  },
}
SCSS
$custom: #031437;
$custom-light: #4d506e;
$custom-dark: #000000;
JSON
{
  "hex": "#031437",
  "rgb": {
    "r": 3,
    "g": 20,
    "b": 55
  },
  "hsl": {
    "h": 220.385,
    "s": 89.655,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20266,
    "c": 0.07291,
    "h": 261.1
  },
  "luminance": 0.00796
}

Semantic roles & 50–950 ramp

primary
#031437
secondary
#7A5B1C
accent
#B929FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #031437

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

Preview Lab → · Contrast checker → · Palette generator →

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