#33398C#33398C

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

Color values

HEX#33398C
RGBrgb(51, 57, 140)
HSLhsl(236, 47%, 37%)
HSVhsv(236, 64%, 55%)
CMYKcmyk(63.6%, 59.3%, 0%, 45.1%)
CIE-LABlab(28.18, 24.62, -47.07)
CIE-LCHlch(28.18, 53.12, 297.61°)
OKLaboklab(39.06% 0.012 -0.1353)
OKLCHoklch(39.06% 0.136 275.1)
XYZxyz(7.5604, 5.5229, 25.4735)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33398C #8C8633
analogous
#33668C #33398C #59338C
triadic
#33398C #8C3339 #398C33
tetradic
#33398C #8C3366 #8C8633 #338C59
square
#33398C #8C3366 #8C8633 #338C59
split-complementary
#33398C #8C5933 #668C33
monochromatic
#121432 #23275F #33398C #434BB9 #6F75CB

Accessibility & contrast

On white

9.98
#33398C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33398C
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33398C#FFFFFF#000000##FFFFFF
##33398C1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #33398c;
/* rgb */ color: rgb(51, 57, 140);
/* oklch */ color: oklch(39.1% 0.136 275.1);
Tailwind
colors: {
  custom: {
    50: '#756fae',
    500: '#33398c',
    950: '#000000',
  },
}
SCSS
$custom: #33398c;
$custom-light: #756fae;
$custom-dark: #000000;
JSON
{
  "hex": "#33398c",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 140
  },
  "hsl": {
    "h": 235.955,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39059,
    "c": 0.13584,
    "h": 275.1
  },
  "luminance": 0.05524
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33398C

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

Preview Lab → · Contrast checker → · Palette generator →

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