#33317D#33317D

#33317D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.125 H 279.3°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#33317D
RGBrgb(51, 49, 125)
HSLhsl(242, 44%, 34%)
HSVhsv(242, 61%, 49%)
CMYKcmyk(59.2%, 60.8%, 0%, 51%)
CIE-LABlab(24.89, 24.63, -43.03)
CIE-LCHlch(24.89, 49.58, 299.78°)
OKLaboklab(36.25% 0.0202 -0.1235)
OKLCHoklch(36.25% 0.125 279.3)
XYZxyz(6.1641, 4.3807, 19.9188)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33317D #7B7D31
analogous
#31557D #33317D #59317D
triadic
#33317D #7D3331 #317D33
tetradic
#33317D #7D3155 #7B7D31 #317D59
square
#33317D #7D3155 #7B7D31 #317D59
split-complementary
#33317D #7D5931 #557D31
monochromatic
#0F0F25 #212051 #33317D #4542A9 #6866C3

Accessibility & contrast

On white

11.19
#33317D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#33317D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33317D
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33317D#FFFFFF#000000##FFFFFF
##33317D1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#084352
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #33317d;
/* rgb */ color: rgb(51, 49, 125);
/* oklch */ color: oklch(36.3% 0.125 279.3);
Tailwind
colors: {
  custom: {
    50: '#7269a3',
    500: '#33317d',
    950: '#000000',
  },
}
SCSS
$custom: #33317d;
$custom-light: #7269a3;
$custom-dark: #000000;
JSON
{
  "hex": "#33317d",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 241.579,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36252,
    "c": 0.12514,
    "h": 279.3
  },
  "luminance": 0.04381
}

Semantic roles & 50–950 ramp

primary
#33317D
secondary
#A8AA60
accent
#D354D0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #33317D

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

Preview Lab → · Contrast checker → · Palette generator →

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