#33387D#33387D

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

Color values

HEX#33387D
RGBrgb(51, 56, 125)
HSLhsl(236, 42%, 35%)
HSVhsv(236, 59%, 49%)
CMYKcmyk(59.2%, 55.2%, 0%, 51%)
CIE-LABlab(26.77, 19.90, -39.99)
CIE-LCHlch(26.77, 44.67, 296.46°)
OKLaboklab(37.65% 0.0125 -0.1145)
OKLCHoklch(37.65% 0.115 276.2)
XYZxyz(6.4799, 5.0124, 20.0241)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33387D #7D7833
analogous
#335D7D #33387D #53337D
triadic
#33387D #7D3338 #387D33
tetradic
#33387D #7D335D #7D7833 #337D53
square
#33387D #7D335D #7D7833 #337D53
split-complementary
#33387D #7D5333 #5D7D33
monochromatic
#101126 #212552 #33387D #454BA8 #696FC2

Accessibility & contrast

On white

10.49
#33387D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#33387D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33387D
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33387D#FFFFFF#000000##FFFFFF
##33387D1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F427F
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#064855
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #33387d;
/* rgb */ color: rgb(51, 56, 125);
/* oklch */ color: oklch(37.6% 0.115 276.2);
Tailwind
colors: {
  custom: {
    50: '#726ea3',
    500: '#33387d',
    950: '#000000',
  },
}
SCSS
$custom: #33387d;
$custom-light: #726ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#33387d",
  "rgb": {
    "r": 51,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 235.946,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3765,
    "c": 0.11517,
    "h": 276.2
  },
  "luminance": 0.05013
}

Semantic roles & 50–950 ramp

primary
#33387D
secondary
#AAA562
accent
#C956D2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #33387D

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

Preview Lab → · Contrast checker → · Palette generator →

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