#33348E#33348E

#33348E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.145 H 276.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#33348E
RGBrgb(51, 52, 142)
HSLhsl(239, 47%, 38%)
HSVhsv(239, 64%, 56%)
CMYKcmyk(64.1%, 63.4%, 0%, 44.3%)
CIE-LABlab(27.05, 28.64, -50.14)
CIE-LCHlch(27.05, 57.74, 299.74°)
OKLaboklab(38.28% 0.0167 -0.1443)
OKLCHoklch(38.28% 0.145 276.6)
XYZxyz(7.4741, 5.1122, 26.1788)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33348E #8E8D33
analogous
#33618E #33348E #60338E
triadic
#33348E #8E3334 #348E33
tetradic
#33348E #8E3361 #8E8D33 #338E60
square
#33348E #8E3361 #8E8D33 #338E60
split-complementary
#33348E #8E6033 #618E33
monochromatic
#131334 #232461 #33348E #4344BB #7071CC

Accessibility & contrast

On white

10.38
#33348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#33348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33348E
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33348E#FFFFFF#000000##FFFFFF
##33348E1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #33348e;
/* rgb */ color: rgb(51, 52, 142);
/* oklch */ color: oklch(38.3% 0.145 276.6);
Tailwind
colors: {
  custom: {
    50: '#756bb0',
    500: '#33348e',
    950: '#000000',
  },
}
SCSS
$custom: #33348e;
$custom-light: #756bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#33348e",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 239.341,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38281,
    "c": 0.14531,
    "h": 276.6
  },
  "luminance": 0.05113
}

Semantic roles & 50–950 ramp

primary
#33348E
secondary
#B4B369
accent
#D551D7
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #33348E

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

Preview Lab → · Contrast checker → · Palette generator →

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