#33397B#33397B

#33397B is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.7% C 0.111 H 275.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#33397B
RGBrgb(51, 57, 123)
HSLhsl(235, 41%, 34%)
HSVhsv(235, 59%, 48%)
CMYKcmyk(58.5%, 53.7%, 0%, 51.8%)
CIE-LABlab(26.90, 18.51, -38.52)
CIE-LCHlch(26.90, 42.73, 295.67°)
OKLaboklab(37.71% 0.0112 -0.1101)
OKLCHoklch(37.71% 0.111 275.8)
XYZxyz(6.4024, 5.0597, 19.3743)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33397B #7B7533
analogous
#335D7B #33397B #51337B
triadic
#33397B #7B3339 #397B33
tetradic
#33397B #7B335D #7B7533 #337B51
square
#33397B #7B335D #7B7533 #337B51
split-complementary
#33397B #7B5133 #5D7B33
monochromatic
#0F1124 #212550 #33397B #454DA6 #686FC0

Accessibility & contrast

On white

10.44
#33397B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#33397B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33397B
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33397B#FFFFFF#000000##FFFFFF
##33397B1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15437D
Deuteranopia (green-blind)
#073D7A
Tritanopia (blue-blind)
#0A4854
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #33397b;
/* rgb */ color: rgb(51, 57, 123);
/* oklch */ color: oklch(37.7% 0.111 275.8);
Tailwind
colors: {
  custom: {
    50: '#716fa2',
    500: '#33397b',
    950: '#000000',
  },
}
SCSS
$custom: #33397b;
$custom-light: #716fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#33397b",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 235,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37705,
    "c": 0.11071,
    "h": 275.8
  },
  "luminance": 0.0506
}

Semantic roles & 50–950 ramp

primary
#33397B
secondary
#A8A262
accent
#C757D1
background
#F7F6FA
surface
#EDECF3
border
#C8C7CD
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #33397B

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

Preview Lab → · Contrast checker → · Palette generator →

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