#031532#031532

#031532 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.1% C 0.063 H 258.2°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#031532
RGBrgb(3, 21, 50)
HSLhsl(217, 89%, 10%)
HSVhsv(217, 94%, 20%)
CMYKcmyk(94%, 58%, 0%, 80.4%)
CIE-LABlab(7.10, 5.47, -21.39)
CIE-LCHlch(7.10, 22.08, 284.35°)
OKLaboklab(20.06% -0.0129 -0.0617)
OKLCHoklch(20.06% 0.063 258.2)
XYZxyz(0.8812, 0.7859, 3.1222)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031532 #322003
analogous
#032C32 #031532 #080332
triadic
#031532 #320315 #153203
tetradic
#031532 #32032C #322003 #033208
square
#031532 #32032C #322003 #033208
split-complementary
#031532 #320803 #2C3203
monochromatic
#020C1D #020C1D #031532 #062D6C #0A45A5

Accessibility & contrast

On white

18.15
#031532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031532
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031532#FFFFFF#000000##FFFFFF
##0315321.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051833
Deuteranopia (green-blind)
#001431
Tritanopia (blue-blind)
#001C21
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #031532;
/* rgb */ color: rgb(3, 21, 50);
/* oklch */ color: oklch(20.1% 0.063 258.2);
Tailwind
colors: {
  custom: {
    50: '#4b516a',
    500: '#031532',
    950: '#000000',
  },
}
SCSS
$custom: #031532;
$custom-light: #4b516a;
$custom-dark: #000000;
JSON
{
  "hex": "#031532",
  "rgb": {
    "r": 3,
    "g": 21,
    "b": 50
  },
  "hsl": {
    "h": 217.021,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20055,
    "c": 0.06306,
    "h": 258.2
  },
  "luminance": 0.00786
}

Semantic roles & 50–950 ramp

primary
#031532
secondary
#75531B
accent
#AD29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #031532

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

Preview Lab → · Contrast checker → · Palette generator →

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