#33418C#33418C

#33418C is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.125 H 271.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#33418C
RGBrgb(51, 65, 140)
HSLhsl(231, 47%, 37%)
HSVhsv(231, 64%, 55%)
CMYKcmyk(63.6%, 53.6%, 0%, 45.1%)
CIE-LABlab(30.34, 19.25, -43.56)
CIE-LCHlch(30.34, 47.62, 293.84°)
OKLaboklab(40.68% 0.0039 -0.1249)
OKLCHoklch(40.68% 0.125 271.8)
XYZxyz(7.9876, 6.3772, 25.6158)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33418C #8C7E33
analogous
#336D8C #33418C #52338C
triadic
#33418C #8C3341 #418C33
tetradic
#33418C #8C336D #8C7E33 #338C52
square
#33418C #8C336D #8C7E33 #338C52
split-complementary
#33418C #8C5233 #6D8C33
monochromatic
#121732 #232C5F #33418C #4356B9 #6F7DCB

Accessibility & contrast

On white

9.23
#33418C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#33418C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33418C
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33418C#FFFFFF#000000##FFFFFF
##33418C1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144C8F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #33418c;
/* rgb */ color: rgb(51, 65, 140);
/* oklch */ color: oklch(40.7% 0.125 271.8);
Tailwind
colors: {
  custom: {
    50: '#7475ae',
    500: '#33418c',
    950: '#000000',
  },
}
SCSS
$custom: #33418c;
$custom-light: #7475ae;
$custom-dark: #000000;
JSON
{
  "hex": "#33418c",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 140
  },
  "hsl": {
    "h": 230.562,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40683,
    "c": 0.12494,
    "h": 271.8
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#33418C
secondary
#B2A768
accent
#C152D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #33418C

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

Preview Lab → · Contrast checker → · Palette generator →

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