#33347E#33347E

#33347E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.122 H 278.0°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#33347E
RGBrgb(51, 52, 126)
HSLhsl(239, 42%, 35%)
HSVhsv(239, 60%, 49%)
CMYKcmyk(59.5%, 58.7%, 0%, 50.6%)
CIE-LABlab(25.76, 22.97, -42.25)
CIE-LCHlch(25.76, 48.09, 298.53°)
OKLaboklab(36.92% 0.017 -0.1212)
OKLCHoklch(36.92% 0.122 278)
XYZxyz(6.3579, 4.6657, 20.3002)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33347E #7E7D33
analogous
#335A7E #33347E #58337E
triadic
#33347E #7E3334 #347E33
tetradic
#33347E #7E335A #7E7D33 #337E58
square
#33347E #7E335A #7E7D33 #337E58
split-complementary
#33347E #7E5833 #5A7E33
monochromatic
#101027 #212252 #33347E #4546AA #696AC2

Accessibility & contrast

On white

10.86
#33347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#33347E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33347E
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33347E#FFFFFF#000000##FFFFFF
##33347E1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#054553
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #33347e;
/* rgb */ color: rgb(51, 52, 126);
/* oklch */ color: oklch(36.9% 0.122 278.0);
Tailwind
colors: {
  custom: {
    50: '#726ba4',
    500: '#33347e',
    950: '#000000',
  },
}
SCSS
$custom: #33347e;
$custom-light: #726ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#33347e",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 239.2,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3692,
    "c": 0.12237,
    "h": 278
  },
  "luminance": 0.04666
}

Semantic roles & 50–950 ramp

primary
#33347E
secondary
#AAA963
accent
#D156D2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #33347E

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

Preview Lab → · Contrast checker → · Palette generator →

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