#33407E#33407E

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

Color values

HEX#33407E
RGBrgb(51, 64, 126)
HSLhsl(230, 42%, 35%)
HSVhsv(230, 60%, 49%)
CMYKcmyk(59.5%, 49.2%, 0%, 50.6%)
CIE-LABlab(29.10, 14.83, -36.88)
CIE-LCHlch(29.10, 39.75, 291.90°)
OKLaboklab(39.43% 0.0034 -0.1052)
OKLCHoklch(39.43% 0.105 271.9)
XYZxyz(6.9633, 5.8764, 20.5019)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33407E #7E7133
analogous
#33667E #33407E #4C337E
triadic
#33407E #7E3340 #407E33
tetradic
#33407E #7E3366 #7E7133 #337E4C
square
#33407E #7E3366 #7E7133 #337E4C
split-complementary
#33407E #7E4C33 #667E33
monochromatic
#101427 #212A52 #33407E #4556AA #6979C2

Accessibility & contrast

On white

9.65
#33407E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#33407E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33407E
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33407E#FFFFFF#000000##FFFFFF
##33407E1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224880
Deuteranopia (green-blind)
#17417D
Tritanopia (blue-blind)
#014E59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #33407e;
/* rgb */ color: rgb(51, 64, 126);
/* oklch */ color: oklch(39.4% 0.105 271.9);
Tailwind
colors: {
  custom: {
    50: '#7274a4',
    500: '#33407e',
    950: '#000000',
  },
}
SCSS
$custom: #33407e;
$custom-light: #7274a4;
$custom-dark: #000000;
JSON
{
  "hex": "#33407e",
  "rgb": {
    "r": 51,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 229.6,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39431,
    "c": 0.1053,
    "h": 271.9
  },
  "luminance": 0.05877
}

Semantic roles & 50–950 ramp

primary
#33407E
secondary
#AA9E63
accent
#BD56D2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #33407E

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

Preview Lab → · Contrast checker → · Palette generator →

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