#031132#031132

#031132 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.0% C 0.069 H 262.1°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#031132
RGBrgb(3, 17, 50)
HSLhsl(222, 89%, 10%)
HSVhsv(222, 94%, 20%)
CMYKcmyk(94%, 66%, 0%, 80.4%)
CIE-LABlab(5.88, 8.00, -23.35)
CIE-LCHlch(5.88, 24.69, 288.91°)
OKLaboklab(18.98% -0.0095 -0.0685)
OKLCHoklch(18.98% 0.069 262.1)
XYZxyz(0.8135, 0.6504, 3.0997)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031132 #322403
analogous
#032832 #031132 #0D0332
triadic
#031132 #320311 #113203
tetradic
#031132 #320328 #322403 #03320D
square
#031132 #320328 #322403 #03320D
split-complementary
#031132 #320D03 #283203
monochromatic
#020A1D #020A1D #031132 #06256C #0A38A5

Accessibility & contrast

On white

18.58
#031132 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#031132 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031132
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031132#FFFFFF#000000##FFFFFF
##0311321.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001533
Deuteranopia (green-blind)
#001131
Tritanopia (blue-blind)
#00191F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #031132;
/* rgb */ color: rgb(3, 17, 50);
/* oklch */ color: oklch(19.0% 0.069 262.1);
Tailwind
colors: {
  custom: {
    50: '#4b4f6a',
    500: '#031132',
    950: '#000000',
  },
}
SCSS
$custom: #031132;
$custom-light: #4b4f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#031132",
  "rgb": {
    "r": 3,
    "g": 17,
    "b": 50
  },
  "hsl": {
    "h": 222.128,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18979,
    "c": 0.06919,
    "h": 262.1
  },
  "luminance": 0.00651
}

Semantic roles & 50–950 ramp

primary
#031132
secondary
#755B1B
accent
#BF29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #031132

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

Preview Lab → · Contrast checker → · Palette generator →

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