#33397C#33397C

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

Color values

HEX#33397C
RGBrgb(51, 57, 124)
HSLhsl(235, 42%, 34%)
HSVhsv(235, 59%, 49%)
CMYKcmyk(58.9%, 54%, 0%, 51.4%)
CIE-LABlab(26.98, 18.87, -39.03)
CIE-LCHlch(26.98, 43.36, 295.80°)
OKLaboklab(37.78% 0.0113 -0.1117)
OKLCHoklch(37.78% 0.112 275.8)
XYZxyz(6.4653, 5.0848, 19.7057)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33397C #7C7633
analogous
#335E7C #33397C #52337C
triadic
#33397C #7C3339 #397C33
tetradic
#33397C #7C335E #7C7633 #337C52
square
#33397C #7C335E #7C7633 #337C52
split-complementary
#33397C #7C5233 #5E7C33
monochromatic
#0F1125 #212551 #33397C #454DA7 #6870C1

Accessibility & contrast

On white

10.41
#33397C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33397C
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33397C#FFFFFF#000000##FFFFFF
##33397C1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14437E
Deuteranopia (green-blind)
#053D7B
Tritanopia (blue-blind)
#084854
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #33397c;
/* rgb */ color: rgb(51, 57, 124);
/* oklch */ color: oklch(37.8% 0.112 275.8);
Tailwind
colors: {
  custom: {
    50: '#726fa2',
    500: '#33397c',
    950: '#000000',
  },
}
SCSS
$custom: #33397c;
$custom-light: #726fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#33397c",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 235.068,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37781,
    "c": 0.11223,
    "h": 275.8
  },
  "luminance": 0.05085
}

Semantic roles & 50–950 ramp

primary
#33397C
secondary
#A9A362
accent
#C756D2
background
#F7F6FA
surface
#EDECF3
border
#C8C7CD
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #33397C

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

Preview Lab → · Contrast checker → · Palette generator →

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