#031332#031332

#031332 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.5% C 0.066 H 260.3°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#031332
RGBrgb(3, 19, 50)
HSLhsl(220, 89%, 10%)
HSVhsv(220, 94%, 20%)
CMYKcmyk(94%, 62%, 0%, 80.4%)
CIE-LABlab(6.46, 6.80, -22.41)
CIE-LCHlch(6.46, 23.42, 286.88°)
OKLaboklab(19.51% -0.0111 -0.0652)
OKLCHoklch(19.51% 0.066 260.3)
XYZxyz(0.8459, 0.7153, 3.1105)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031332 #322203
analogous
#032A32 #031332 #0A0332
triadic
#031332 #320313 #133203
tetradic
#031332 #32032A #322203 #03320A
square
#031332 #32032A #322203 #03320A
split-complementary
#031332 #320A03 #2A3203
monochromatic
#020B1D #020B1D #031332 #06296C #0A3FA5

Accessibility & contrast

On white

18.37
#031332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#031332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031332
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031332#FFFFFF#000000##FFFFFF
##0313321.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021733
Deuteranopia (green-blind)
#001231
Tritanopia (blue-blind)
#001B20
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #031332;
/* rgb */ color: rgb(3, 19, 50);
/* oklch */ color: oklch(19.5% 0.066 260.3);
Tailwind
colors: {
  custom: {
    50: '#4b506a',
    500: '#031332',
    950: '#000000',
  },
}
SCSS
$custom: #031332;
$custom-light: #4b506a;
$custom-dark: #000000;
JSON
{
  "hex": "#031332",
  "rgb": {
    "r": 3,
    "g": 19,
    "b": 50
  },
  "hsl": {
    "h": 219.574,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.19509,
    "c": 0.06611,
    "h": 260.3
  },
  "luminance": 0.00715
}

Semantic roles & 50–950 ramp

primary
#031332
secondary
#75571B
accent
#B629FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #031332

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

Preview Lab → · Contrast checker → · Palette generator →

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