#33418E#33418E

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

Color values

HEX#33418E
RGBrgb(51, 65, 142)
HSLhsl(231, 47%, 38%)
HSVhsv(231, 64%, 56%)
CMYKcmyk(64.1%, 54.2%, 0%, 44.3%)
CIE-LABlab(30.49, 19.98, -44.56)
CIE-LCHlch(30.49, 48.83, 294.15°)
OKLaboklab(40.84% 0.004 -0.1278)
OKLCHoklch(40.84% 0.128 271.8)
XYZxyz(8.1364, 6.4367, 26.3996)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33418E #8E8033
analogous
#336E8E #33418E #52338E
triadic
#33418E #8E3341 #418E33
tetradic
#33418E #8E336E #8E8033 #338E52
square
#33418E #8E336E #8E8033 #338E52
split-complementary
#33418E #8E5233 #6E8E33
monochromatic
#131834 #232C61 #33418E #4356BB #707ECC

Accessibility & contrast

On white

9.18
#33418E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#33418E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33418E
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33418E#FFFFFF#000000##FFFFFF
##33418E1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104C91
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #33418e;
/* rgb */ color: rgb(51, 65, 142);
/* oklch */ color: oklch(40.8% 0.128 271.8);
Tailwind
colors: {
  custom: {
    50: '#7575b0',
    500: '#33418e',
    950: '#000000',
  },
}
SCSS
$custom: #33418e;
$custom-light: #7575b0;
$custom-dark: #000000;
JSON
{
  "hex": "#33418e",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 230.769,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40837,
    "c": 0.12788,
    "h": 271.8
  },
  "luminance": 0.06437
}

Semantic roles & 50–950 ramp

primary
#33418E
secondary
#B4A869
accent
#C251D7
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #33418E

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

Preview Lab → · Contrast checker → · Palette generator →

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