#33397E#33397E

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

Color values

HEX#33397E
RGBrgb(51, 57, 126)
HSLhsl(235, 42%, 35%)
HSVhsv(235, 60%, 49%)
CMYKcmyk(59.5%, 54.8%, 0%, 50.6%)
CIE-LABlab(27.12, 19.58, -40.06)
CIE-LCHlch(27.12, 44.59, 296.05°)
OKLaboklab(37.94% 0.0115 -0.1147)
OKLCHoklch(37.94% 0.115 275.7)
XYZxyz(6.5930, 5.1359, 20.3785)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33397E #7E7833
analogous
#335F7E #33397E #53337E
triadic
#33397E #7E3339 #397E33
tetradic
#33397E #7E335F #7E7833 #337E53
square
#33397E #7E335F #7E7833 #337E53
split-complementary
#33397E #7E5333 #5F7E33
monochromatic
#101227 #212552 #33397E #454DAA #6970C2

Accessibility & contrast

On white

10.36
#33397E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#33397E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33397E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33397E#FFFFFF#000000##FFFFFF
##33397E1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104380
Deuteranopia (green-blind)
#003D7D
Tritanopia (blue-blind)
#044955
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #33397e;
/* rgb */ color: rgb(51, 57, 126);
/* oklch */ color: oklch(37.9% 0.115 275.7);
Tailwind
colors: {
  custom: {
    50: '#726fa4',
    500: '#33397e',
    950: '#000000',
  },
}
SCSS
$custom: #33397e;
$custom-light: #726fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#33397e",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 235.2,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37935,
    "c": 0.11525,
    "h": 275.7
  },
  "luminance": 0.05136
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33397E

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

Preview Lab → · Contrast checker → · Palette generator →

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