#33248B#33248B

#33248B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.161 H 280.9°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#33248B
RGBrgb(51, 36, 139)
HSLhsl(249, 59%, 34%)
HSVhsv(249, 74%, 55%)
CMYKcmyk(63.3%, 74.1%, 0%, 45.5%)
CIE-LABlab(23.10, 37.55, -54.74)
CIE-LCHlch(23.10, 66.39, 304.45°)
OKLaboklab(35.34% 0.0305 -0.1579)
OKLCHoklch(35.34% 0.161 280.9)
XYZxyz(6.6548, 3.8292, 24.8095)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33248B #7C8B24
analogous
#24498B #33248B #67248B
triadic
#33248B #8B3324 #248B33
tetradic
#33248B #8B2449 #7C8B24 #248B67
square
#33248B #8B2449 #7C8B24 #248B67
split-complementary
#33248B #8B6724 #498B24
monochromatic
#0F0B2A #21175A #33248B #4531BC #6856D3

Accessibility & contrast

On white

11.89
#33248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#33248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33248B
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33248B#FFFFFF#000000##FFFFFF
##33248B1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003389
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #33248b;
/* rgb */ color: rgb(51, 36, 139);
/* oklch */ color: oklch(35.3% 0.161 280.9);
Tailwind
colors: {
  custom: {
    50: '#7661ae',
    500: '#33248b',
    950: '#000000',
  },
}
SCSS
$custom: #33248b;
$custom-light: #7661ae;
$custom-dark: #000000;
JSON
{
  "hex": "#33248b",
  "rgb": {
    "r": 51,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 248.738,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35338,
    "c": 0.16079,
    "h": 280.9
  },
  "luminance": 0.0383
}

Semantic roles & 50–950 ramp

primary
#33248B
secondary
#A9B753
accent
#E246CB
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #33248B

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

Preview Lab → · Contrast checker → · Palette generator →

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