#33398E#33398E

#33398E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.139 H 274.9°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#33398E
RGBrgb(51, 57, 142)
HSLhsl(236, 47%, 38%)
HSVhsv(236, 64%, 56%)
CMYKcmyk(64.1%, 59.9%, 0%, 44.3%)
CIE-LABlab(28.33, 25.34, -48.05)
CIE-LCHlch(28.33, 54.32, 297.81°)
OKLaboklab(39.23% 0.012 -0.1382)
OKLCHoklch(39.23% 0.139 274.9)
XYZxyz(7.7093, 5.5824, 26.2572)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33398E #8E8833
analogous
#33668E #33398E #5A338E
triadic
#33398E #8E3339 #398E33
tetradic
#33398E #8E3366 #8E8833 #338E5A
square
#33398E #8E3366 #8E8833 #338E5A
split-complementary
#33398E #8E5A33 #668E33
monochromatic
#131534 #232761 #33398E #434BBB #7076CC

Accessibility & contrast

On white

9.92
#33398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#33398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33398E
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33398E#FFFFFF#000000##FFFFFF
##33398E1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #33398e;
/* rgb */ color: rgb(51, 57, 142);
/* oklch */ color: oklch(39.2% 0.139 274.9);
Tailwind
colors: {
  custom: {
    50: '#756fb0',
    500: '#33398e',
    950: '#000000',
  },
}
SCSS
$custom: #33398e;
$custom-light: #756fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#33398e",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 236.044,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39227,
    "c": 0.1387,
    "h": 274.9
  },
  "luminance": 0.05583
}

Semantic roles & 50–950 ramp

primary
#33398E
secondary
#B4AF69
accent
#CE51D7
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #33398E

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

Preview Lab → · Contrast checker → · Palette generator →

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