#33397D#33397D

#33397D is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.9% C 0.114 H 275.7°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#33397D
RGBrgb(51, 57, 125)
HSLhsl(235, 42%, 35%)
HSVhsv(235, 59%, 49%)
CMYKcmyk(59.2%, 54.4%, 0%, 51%)
CIE-LABlab(27.05, 19.22, -39.55)
CIE-LCHlch(27.05, 43.97, 295.93°)
OKLaboklab(37.86% 0.0114 -0.1132)
OKLCHoklch(37.86% 0.114 275.7)
XYZxyz(6.5288, 5.1103, 20.0404)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33397D #7D7733
analogous
#335E7D #33397D #52337D
triadic
#33397D #7D3339 #397D33
tetradic
#33397D #7D335E #7D7733 #337D52
square
#33397D #7D335E #7D7733 #337D52
split-complementary
#33397D #7D5233 #5E7D33
monochromatic
#101126 #212552 #33397D #454DA8 #6970C2

Accessibility & contrast

On white

10.38
#33397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#33397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33397D
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33397D#FFFFFF#000000##FFFFFF
##33397D1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12437F
Deuteranopia (green-blind)
#023D7C
Tritanopia (blue-blind)
#064955
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #33397d;
/* rgb */ color: rgb(51, 57, 125);
/* oklch */ color: oklch(37.9% 0.114 275.7);
Tailwind
colors: {
  custom: {
    50: '#726fa3',
    500: '#33397d',
    950: '#000000',
  },
}
SCSS
$custom: #33397d;
$custom-light: #726fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#33397d",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 235.135,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37858,
    "c": 0.11374,
    "h": 275.7
  },
  "luminance": 0.05111
}

Semantic roles & 50–950 ramp

primary
#33397D
secondary
#AAA462
accent
#C856D2
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #33397D

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

Preview Lab → · Contrast checker → · Palette generator →

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