#33398F#33398F

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

Color values

HEX#33398F
RGBrgb(51, 57, 143)
HSLhsl(236, 47%, 38%)
HSVhsv(236, 64%, 56%)
CMYKcmyk(64.3%, 60.1%, 0%, 43.9%)
CIE-LABlab(28.41, 25.70, -48.54)
CIE-LCHlch(28.41, 54.92, 297.90°)
OKLaboklab(39.31% 0.012 -0.1396)
OKLCHoklch(39.31% 0.14 274.9)
XYZxyz(7.7847, 5.6126, 26.6544)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33398F #8F8933
analogous
#33678F #33398F #5B338F
triadic
#33398F #8F3339 #398F33
tetradic
#33398F #8F3367 #8F8933 #338F5B
square
#33398F #8F3367 #8F8933 #338F5B
split-complementary
#33398F #8F5B33 #678F33
monochromatic
#131535 #232762 #33398F #434BBC #7076CC

Accessibility & contrast

On white

9.89
#33398F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33398F
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33398F#FFFFFF#000000##FFFFFF
##33398F1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #33398f;
/* rgb */ color: rgb(51, 57, 143);
/* oklch */ color: oklch(39.3% 0.140 274.9);
Tailwind
colors: {
  custom: {
    50: '#756fb0',
    500: '#33398f',
    950: '#000000',
  },
}
SCSS
$custom: #33398f;
$custom-light: #756fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#33398f",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 236.087,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39311,
    "c": 0.14012,
    "h": 274.9
  },
  "luminance": 0.05613
}

Semantic roles & 50–950 ramp

primary
#33398F
secondary
#B4AF6A
accent
#CE51D7
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#090711
muted
#7B7A80

Preview Lab

Preview with #33398F

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

Preview Lab → · Contrast checker → · Palette generator →

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