#33348F#33348F

#33348F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.147 H 276.5°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#33348F
RGBrgb(51, 52, 143)
HSLhsl(239, 47%, 38%)
HSVhsv(239, 64%, 56%)
CMYKcmyk(64.3%, 63.6%, 0%, 43.9%)
CIE-LABlab(27.14, 29.00, -50.62)
CIE-LCHlch(27.14, 58.33, 299.81°)
OKLaboklab(38.37% 0.0166 -0.1458)
OKLCHoklch(38.37% 0.147 276.5)
XYZxyz(7.5495, 5.1424, 26.5760)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33348F #8F8E33
analogous
#33628F #33348F #60338F
triadic
#33348F #8F3334 #348F33
tetradic
#33348F #8F3362 #8F8E33 #338F60
square
#33348F #8F3362 #8F8E33 #338F60
split-complementary
#33348F #8F6033 #628F33
monochromatic
#131335 #232462 #33348F #4344BC #7071CC

Accessibility & contrast

On white

10.35
#33348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#33348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33348F
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33348F#FFFFFF#000000##FFFFFF
##33348F1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #33348f;
/* rgb */ color: rgb(51, 52, 143);
/* oklch */ color: oklch(38.4% 0.147 276.5);
Tailwind
colors: {
  custom: {
    50: '#766bb1',
    500: '#33348f',
    950: '#000000',
  },
}
SCSS
$custom: #33348f;
$custom-light: #766bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#33348f",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 239.348,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38369,
    "c": 0.1467,
    "h": 276.5
  },
  "luminance": 0.05143
}

Semantic roles & 50–950 ramp

primary
#33348F
secondary
#B4B36A
accent
#D651D7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #33348F

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

Preview Lab → · Contrast checker → · Palette generator →

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