#33398B#33398B

#33398B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.134 H 275.1°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#33398B
RGBrgb(51, 57, 139)
HSLhsl(236, 46%, 37%)
HSVhsv(236, 63%, 55%)
CMYKcmyk(63.3%, 59%, 0%, 45.5%)
CIE-LABlab(28.10, 24.26, -46.58)
CIE-LCHlch(28.10, 52.52, 297.51°)
OKLaboklab(38.98% 0.012 -0.1339)
OKLCHoklch(38.98% 0.134 275.1)
XYZxyz(7.4870, 5.4935, 25.0869)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33398B #8B8533
analogous
#33658B #33398B #59338B
triadic
#33398B #8B3339 #398B33
tetradic
#33398B #8B3365 #8B8533 #338B59
square
#33398B #8B3365 #8B8533 #338B59
split-complementary
#33398B #8B5933 #658B33
monochromatic
#121431 #23275E #33398B #434BB8 #6E75CA

Accessibility & contrast

On white

10.01
#33398B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#33398B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33398B
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33398B#FFFFFF#000000##FFFFFF
##33398B1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #33398b;
/* rgb */ color: rgb(51, 57, 139);
/* oklch */ color: oklch(39.0% 0.134 275.1);
Tailwind
colors: {
  custom: {
    50: '#746fae',
    500: '#33398b',
    950: '#000000',
  },
}
SCSS
$custom: #33398b;
$custom-light: #746fae;
$custom-dark: #000000;
JSON
{
  "hex": "#33398b",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 235.909,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38976,
    "c": 0.13439,
    "h": 275.1
  },
  "luminance": 0.05494
}

Semantic roles & 50–950 ramp

primary
#33398B
secondary
#B2AD68
accent
#CD52D6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #33398B

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

Preview Lab → · Contrast checker → · Palette generator →

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