#33247F#33247F

#33247F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.145 H 283.1°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#33247F
RGBrgb(51, 36, 127)
HSLhsl(250, 56%, 32%)
HSVhsv(250, 72%, 50%)
CMYKcmyk(59.8%, 71.7%, 0%, 50.2%)
CIE-LABlab(21.94, 33.62, -49.12)
CIE-LCHlch(21.94, 59.52, 304.40°)
OKLaboklab(34.15% 0.0329 -0.1414)
OKLCHoklch(34.15% 0.145 283.1)
XYZxyz(5.8257, 3.4975, 20.4427)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33247F #707F24
analogous
#24437F #33247F #61247F
triadic
#33247F #7F3324 #247F33
tetradic
#33247F #7F2443 #707F24 #247F61
square
#33247F #7F2443 #707F24 #247F61
split-complementary
#33247F #7F6124 #437F24
monochromatic
#0D0920 #20164F #33247F #4632AF #6550CD

Accessibility & contrast

On white

12.36
#33247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#33247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33247F
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33247F#FFFFFF#000000##FFFFFF
##33247F1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#073C4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #33247f;
/* rgb */ color: rgb(51, 36, 127);
/* oklch */ color: oklch(34.2% 0.145 283.1);
Tailwind
colors: {
  custom: {
    50: '#7460a5',
    500: '#33247f',
    950: '#000000',
  },
}
SCSS
$custom: #33247f;
$custom-light: #7460a5;
$custom-dark: #000000;
JSON
{
  "hex": "#33247f",
  "rgb": {
    "r": 51,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 249.89,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34154,
    "c": 0.14517,
    "h": 283.1
  },
  "luminance": 0.03498
}

Semantic roles & 50–950 ramp

primary
#33247F
secondary
#A1B14E
accent
#DF49C6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #33247F

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

Preview Lab → · Contrast checker → · Palette generator →

#33247F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva