#33487D#33487D

#33487D is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.2% C 0.093 H 266.1°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#33487D
RGBrgb(51, 72, 125)
HSLhsl(223, 42%, 35%)
HSVhsv(223, 59%, 49%)
CMYKcmyk(59.2%, 42.4%, 0%, 51%)
CIE-LABlab(31.39, 9.07, -32.59)
CIE-LCHlch(31.39, 33.83, 285.55°)
OKLaboklab(41.17% -0.0062 -0.0926)
OKLCHoklch(41.17% 0.093 266.1)
XYZxyz(7.3830, 6.8186, 20.3251)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33487D #7D6833
analogous
#336D7D #33487D #43337D
triadic
#33487D #7D3348 #487D33
tetradic
#33487D #7D336D #7D6833 #337D43
square
#33487D #7D336D #7D6833 #337D43
split-complementary
#33487D #7D4333 #6D7D33
monochromatic
#101626 #212F52 #33487D #4561A8 #6982C2

Accessibility & contrast

On white

8.88
#33487D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#33487D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33487D
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33487D#FFFFFF#000000##FFFFFF
##33487D1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7F
Deuteranopia (green-blind)
#28477C
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #33487d;
/* rgb */ color: rgb(51, 72, 125);
/* oklch */ color: oklch(41.2% 0.093 266.1);
Tailwind
colors: {
  custom: {
    50: '#717aa3',
    500: '#33487d',
    950: '#000000',
  },
}
SCSS
$custom: #33487d;
$custom-light: #717aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#33487d",
  "rgb": {
    "r": 51,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 222.973,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41165,
    "c": 0.09279,
    "h": 266.1
  },
  "luminance": 0.06819
}

Semantic roles & 50–950 ramp

primary
#33487D
secondary
#AA9562
accent
#AF56D2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #33487D

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

Preview Lab → · Contrast checker → · Palette generator →

#33487D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva