#33398D#33398D

#33398D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.137 H 275.0°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#33398D
RGBrgb(51, 57, 141)
HSLhsl(236, 47%, 38%)
HSVhsv(236, 64%, 55%)
CMYKcmyk(63.8%, 59.6%, 0%, 44.7%)
CIE-LABlab(28.25, 24.98, -47.56)
CIE-LCHlch(28.25, 53.72, 297.71°)
OKLaboklab(39.14% 0.012 -0.1367)
OKLCHoklch(39.14% 0.137 275)
XYZxyz(7.6345, 5.5525, 25.8636)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33398D #8D8733
analogous
#33668D #33398D #5A338D
triadic
#33398D #8D3339 #398D33
tetradic
#33398D #8D3366 #8D8733 #338D5A
square
#33398D #8D3366 #8D8733 #338D5A
split-complementary
#33398D #8D5A33 #668D33
monochromatic
#121533 #232760 #33398D #434BBA #6F75CB

Accessibility & contrast

On white

9.95
#33398D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#33398D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33398D
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33398D#FFFFFF#000000##FFFFFF
##33398D1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #33398d;
/* rgb */ color: rgb(51, 57, 141);
/* oklch */ color: oklch(39.1% 0.137 275.0);
Tailwind
colors: {
  custom: {
    50: '#756faf',
    500: '#33398d',
    950: '#000000',
  },
}
SCSS
$custom: #33398d;
$custom-light: #756faf;
$custom-dark: #000000;
JSON
{
  "hex": "#33398d",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 236,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39143,
    "c": 0.13727,
    "h": 275
  },
  "luminance": 0.05553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33398D

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

Preview Lab → · Contrast checker → · Palette generator →

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