#33377E#33377E

#33377E is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.5% C 0.118 H 276.7°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#33377E
RGBrgb(51, 55, 126)
HSLhsl(237, 42%, 35%)
HSVhsv(237, 60%, 49%)
CMYKcmyk(59.5%, 56.3%, 0%, 50.6%)
CIE-LABlab(26.57, 20.94, -40.95)
CIE-LCHlch(26.57, 45.99, 297.09°)
OKLaboklab(37.52% 0.0137 -0.1173)
OKLCHoklch(37.52% 0.118 276.7)
XYZxyz(6.4961, 4.9421, 20.3462)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33377E #7E7A33
analogous
#335D7E #33377E #55337E
triadic
#33377E #7E3337 #377E33
tetradic
#33377E #7E335D #7E7A33 #337E55
square
#33377E #7E335D #7E7A33 #337E55
split-complementary
#33377E #7E5533 #5D7E33
monochromatic
#101127 #212452 #33377E #454AAA #696EC2

Accessibility & contrast

On white

10.56
#33377E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#33377E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33377E
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33377E#FFFFFF#000000##FFFFFF
##33377E1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084280
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#044755
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #33377e;
/* rgb */ color: rgb(51, 55, 126);
/* oklch */ color: oklch(37.5% 0.118 276.7);
Tailwind
colors: {
  custom: {
    50: '#726da4',
    500: '#33377e',
    950: '#000000',
  },
}
SCSS
$custom: #33377e;
$custom-light: #726da4;
$custom-dark: #000000;
JSON
{
  "hex": "#33377e",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 126
  },
  "hsl": {
    "h": 236.8,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37523,
    "c": 0.11811,
    "h": 276.7
  },
  "luminance": 0.04943
}

Semantic roles & 50–950 ramp

primary
#33377E
secondary
#AAA663
accent
#CC56D2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #33377E

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

Preview Lab → · Contrast checker → · Palette generator →

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