#031533#031533

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

Color values

HEX#031533
RGBrgb(3, 21, 51)
HSLhsl(218, 89%, 11%)
HSVhsv(218, 94%, 20%)
CMYKcmyk(94.1%, 58.8%, 0%, 80%)
CIE-LABlab(7.18, 5.99, -22.00)
CIE-LCHlch(7.18, 22.80, 285.24°)
OKLaboklab(20.15% -0.0127 -0.0635)
OKLCHoklch(20.15% 0.065 258.6)
XYZxyz(0.9030, 0.7946, 3.2371)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031533 #332103
analogous
#032D33 #031533 #090333
triadic
#031533 #330315 #153303
tetradic
#031533 #33032D #332103 #033309
square
#031533 #33032D #332103 #033309
split-complementary
#031533 #330903 #2D3303
monochromatic
#020C1D #020C1D #031533 #062D6D #0A45A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##031533#FFFFFF#000000##FFFFFF
##0315331.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)
#041834
Deuteranopia (green-blind)
#001432
Tritanopia (blue-blind)
#001C21
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #031533;
/* rgb */ color: rgb(3, 21, 51);
/* oklch */ color: oklch(20.1% 0.065 258.6);
Tailwind
colors: {
  custom: {
    50: '#4c516b',
    500: '#031533',
    950: '#000000',
  },
}
SCSS
$custom: #031533;
$custom-light: #4c516b;
$custom-dark: #000000;
JSON
{
  "hex": "#031533",
  "rgb": {
    "r": 3,
    "g": 21,
    "b": 51
  },
  "hsl": {
    "h": 217.5,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20147,
    "c": 0.06474,
    "h": 258.6
  },
  "luminance": 0.00795
}

Semantic roles & 50–950 ramp

primary
#031533
secondary
#76541C
accent
#AF29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #031533

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

Preview Lab → · Contrast checker → · Palette generator →

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