#33387E#33387E

#33387E is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.7% C 0.117 H 276.2°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#33387E
RGBrgb(51, 56, 126)
HSLhsl(236, 42%, 35%)
HSVhsv(236, 60%, 49%)
CMYKcmyk(59.5%, 55.6%, 0%, 50.6%)
CIE-LABlab(26.84, 20.26, -40.50)
CIE-LCHlch(26.84, 45.29, 296.58°)
OKLaboklab(37.73% 0.0126 -0.116)
OKLCHoklch(37.73% 0.117 276.2)
XYZxyz(6.5441, 5.0380, 20.3622)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33387E #7E7933
analogous
#335E7E #33387E #54337E
triadic
#33387E #7E3338 #387E33
tetradic
#33387E #7E335E #7E7933 #337E54
square
#33387E #7E335E #7E7933 #337E54
split-complementary
#33387E #7E5433 #5E7E33
monochromatic
#101127 #212552 #33387E #454BAA #696FC2

Accessibility & contrast

On white

10.46
#33387E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#33387E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33387E
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33387E#FFFFFF#000000##FFFFFF
##33387E1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4380
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#044855
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #33387e;
/* rgb */ color: rgb(51, 56, 126);
/* oklch */ color: oklch(37.7% 0.117 276.2);
Tailwind
colors: {
  custom: {
    50: '#726ea4',
    500: '#33387e',
    950: '#000000',
  },
}
SCSS
$custom: #33387e;
$custom-light: #726ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#33387e",
  "rgb": {
    "r": 51,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 236,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37728,
    "c": 0.11668,
    "h": 276.2
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

primary
#33387E
secondary
#AAA563
accent
#CA56D2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #33387E

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

Preview Lab → · Contrast checker → · Palette generator →

#33387E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva