#33418B#33418B

#33418B is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.123 H 271.8°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#33418B
RGBrgb(51, 65, 139)
HSLhsl(230, 46%, 37%)
HSVhsv(230, 63%, 55%)
CMYKcmyk(63.3%, 53.2%, 0%, 45.5%)
CIE-LABlab(30.27, 18.88, -43.06)
CIE-LCHlch(30.27, 47.02, 293.68°)
OKLaboklab(40.61% 0.0038 -0.1234)
OKLCHoklch(40.61% 0.123 271.8)
XYZxyz(7.9142, 6.3478, 25.2293)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33418B #8B7D33
analogous
#336D8B #33418B #51338B
triadic
#33418B #8B3341 #418B33
tetradic
#33418B #8B336D #8B7D33 #338B51
square
#33418B #8B336D #8B7D33 #338B51
split-complementary
#33418B #8B5133 #6D8B33
monochromatic
#121731 #232C5E #33418B #4356B8 #6E7DCA

Accessibility & contrast

On white

9.25
#33418B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#33418B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33418B
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33418B#FFFFFF#000000##FFFFFF
##33418B1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164B8E
Deuteranopia (green-blind)
#004489
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #33418b;
/* rgb */ color: rgb(51, 65, 139);
/* oklch */ color: oklch(40.6% 0.123 271.8);
Tailwind
colors: {
  custom: {
    50: '#7475ad',
    500: '#33418b',
    950: '#000000',
  },
}
SCSS
$custom: #33418b;
$custom-light: #7475ad;
$custom-dark: #000000;
JSON
{
  "hex": "#33418b",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 230.455,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40607,
    "c": 0.12347,
    "h": 271.8
  },
  "luminance": 0.06348
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33418B

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

Preview Lab → · Contrast checker → · Palette generator →

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