#33418D#33418D

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

Color values

HEX#33418D
RGBrgb(51, 65, 141)
HSLhsl(231, 47%, 38%)
HSVhsv(231, 64%, 55%)
CMYKcmyk(63.8%, 53.9%, 0%, 44.7%)
CIE-LABlab(30.42, 19.61, -44.06)
CIE-LCHlch(30.42, 48.23, 294.00°)
OKLaboklab(40.76% 0.004 -0.1263)
OKLCHoklch(40.76% 0.126 271.8)
XYZxyz(8.0617, 6.4068, 26.0059)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33418D #8D7F33
analogous
#336E8D #33418D #52338D
triadic
#33418D #8D3341 #418D33
tetradic
#33418D #8D336E #8D7F33 #338D52
square
#33418D #8D336E #8D7F33 #338D52
split-complementary
#33418D #8D5233 #6E8D33
monochromatic
#121833 #232C60 #33418D #4356BA #6F7ECB

Accessibility & contrast

On white

9.20
#33418D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33418D
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33418D#FFFFFF#000000##FFFFFF
##33418D1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124C90
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #33418d;
/* rgb */ color: rgb(51, 65, 141);
/* oklch */ color: oklch(40.8% 0.126 271.8);
Tailwind
colors: {
  custom: {
    50: '#7475af',
    500: '#33418d',
    950: '#000000',
  },
}
SCSS
$custom: #33418d;
$custom-light: #7475af;
$custom-dark: #000000;
JSON
{
  "hex": "#33418d",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 230.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4076,
    "c": 0.12641,
    "h": 271.8
  },
  "luminance": 0.06407
}

Semantic roles & 50–950 ramp

primary
#33418D
secondary
#B3A769
accent
#C251D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #33418D

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

Preview Lab → · Contrast checker → · Palette generator →

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