#33407D#33407D

#33407D is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.4% C 0.104 H 271.8°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#33407D
RGBrgb(51, 64, 125)
HSLhsl(229, 42%, 35%)
HSVhsv(229, 59%, 49%)
CMYKcmyk(59.2%, 48.8%, 0%, 51%)
CIE-LABlab(29.03, 14.46, -36.36)
CIE-LCHlch(29.03, 39.13, 291.69°)
OKLaboklab(39.36% 0.0033 -0.1037)
OKLCHoklch(39.36% 0.104 271.8)
XYZxyz(6.8991, 5.8508, 20.1638)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33407D #7D7033
analogous
#33657D #33407D #4B337D
triadic
#33407D #7D3340 #407D33
tetradic
#33407D #7D3365 #7D7033 #337D4B
square
#33407D #7D3365 #7D7033 #337D4B
split-complementary
#33407D #7D4B33 #657D33
monochromatic
#101326 #212A52 #33407D #4556A8 #6978C2

Accessibility & contrast

On white

9.68
#33407D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#33407D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33407D
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33407D#FFFFFF#000000##FFFFFF
##33407D1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23487F
Deuteranopia (green-blind)
#19417C
Tritanopia (blue-blind)
#034E58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #33407d;
/* rgb */ color: rgb(51, 64, 125);
/* oklch */ color: oklch(39.4% 0.104 271.8);
Tailwind
colors: {
  custom: {
    50: '#7174a3',
    500: '#33407d',
    950: '#000000',
  },
}
SCSS
$custom: #33407d;
$custom-light: #7174a3;
$custom-dark: #000000;
JSON
{
  "hex": "#33407d",
  "rgb": {
    "r": 51,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 229.459,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3936,
    "c": 0.10376,
    "h": 271.8
  },
  "luminance": 0.05851
}

Semantic roles & 50–950 ramp

primary
#33407D
secondary
#AA9D62
accent
#BC56D2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #33407D

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

Preview Lab → · Contrast checker → · Palette generator →

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