#33347F#33347F

#33347F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.124 H 277.9°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#33347F
RGBrgb(51, 52, 127)
HSLhsl(239, 43%, 35%)
HSVhsv(239, 60%, 50%)
CMYKcmyk(59.8%, 59.1%, 0%, 50.2%)
CIE-LABlab(25.84, 23.32, -42.76)
CIE-LCHlch(25.84, 48.71, 298.61°)
OKLaboklab(37% 0.017 -0.1227)
OKLCHoklch(37% 0.124 277.9)
XYZxyz(6.4228, 4.6916, 20.6417)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33347F #7F7E33
analogous
#335A7F #33347F #58337F
triadic
#33347F #7F3334 #347F33
tetradic
#33347F #7F335A #7F7E33 #337F58
square
#33347F #7F335A #7F7E33 #337F58
split-complementary
#33347F #7F5833 #5A7F33
monochromatic
#101028 #212253 #33347F #4546AB #696BC3

Accessibility & contrast

On white

10.83
#33347F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#33347F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33347F
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33347F#FFFFFF#000000##FFFFFF
##33347F1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#034654
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #33347f;
/* rgb */ color: rgb(51, 52, 127);
/* oklch */ color: oklch(37.0% 0.124 277.9);
Tailwind
colors: {
  custom: {
    50: '#736ba5',
    500: '#33347f',
    950: '#000000',
  },
}
SCSS
$custom: #33347f;
$custom-light: #736ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#33347f",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 127
  },
  "hsl": {
    "h": 239.211,
    "s": 42.697,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37002,
    "c": 0.12384,
    "h": 277.9
  },
  "luminance": 0.04692
}

Semantic roles & 50–950 ramp

primary
#33347F
secondary
#ABAA63
accent
#D155D2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #33347F

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

Preview Lab → · Contrast checker → · Palette generator →

#33347F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva