#33407B#33407B

#33407B is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.2% C 0.101 H 271.7°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#33407B
RGBrgb(51, 64, 123)
HSLhsl(229, 41%, 34%)
HSVhsv(229, 59%, 48%)
CMYKcmyk(58.5%, 48%, 0%, 51.8%)
CIE-LABlab(28.90, 13.74, -35.31)
CIE-LCHlch(28.90, 37.89, 291.27°)
OKLaboklab(39.22% 0.003 -0.1006)
OKLCHoklch(39.22% 0.101 271.7)
XYZxyz(6.7726, 5.8002, 19.4977)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33407B #7B6E33
analogous
#33647B #33407B #4A337B
triadic
#33407B #7B3340 #407B33
tetradic
#33407B #7B3364 #7B6E33 #337B4A
square
#33407B #7B3364 #7B6E33 #337B4A
split-complementary
#33407B #7B4A33 #647B33
monochromatic
#0F1324 #212950 #33407B #4557A6 #6878C0

Accessibility & contrast

On white

9.72
#33407B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#33407B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33407B
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33407B#FFFFFF#000000##FFFFFF
##33407B1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477D
Deuteranopia (green-blind)
#1B417A
Tritanopia (blue-blind)
#074D57
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #33407b;
/* rgb */ color: rgb(51, 64, 123);
/* oklch */ color: oklch(39.2% 0.101 271.7);
Tailwind
colors: {
  custom: {
    50: '#7174a1',
    500: '#33407b',
    950: '#000000',
  },
}
SCSS
$custom: #33407b;
$custom-light: #7174a1;
$custom-dark: #000000;
JSON
{
  "hex": "#33407b",
  "rgb": {
    "r": 51,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 229.167,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39219,
    "c": 0.10068,
    "h": 271.7
  },
  "luminance": 0.05801
}

Semantic roles & 50–950 ramp

primary
#33407B
secondary
#A89B62
accent
#BB57D1
background
#F7F7FA
surface
#EDEDF3
border
#C8C8CD
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #33407B

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

Preview Lab → · Contrast checker → · Palette generator →

#33407B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva