#33298B#33298B

#33298B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.155 H 279.9°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#33298B
RGBrgb(51, 41, 139)
HSLhsl(246, 54%, 35%)
HSVhsv(246, 71%, 55%)
CMYKcmyk(63.3%, 70.5%, 0%, 45.5%)
CIE-LABlab(24.17, 34.58, -52.98)
CIE-LCHlch(24.17, 63.27, 303.13°)
OKLaboklab(36.1% 0.0265 -0.1527)
OKLCHoklch(36.1% 0.155 279.9)
XYZxyz(6.8169, 4.1533, 24.8635)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33298B #818B29
analogous
#29508B #33298B #64298B
triadic
#33298B #8B3329 #298B33
tetradic
#33298B #8B2950 #818B29 #298B64
square
#33298B #8B2950 #818B29 #298B64
split-complementary
#33298B #8B6429 #508B29
monochromatic
#100D2C #221B5C #33298B #4437BA #6A5FD0

Accessibility & contrast

On white

11.47
#33298B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#33298B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33298B
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33298B#FFFFFF#000000##FFFFFF
##33298B1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #33298b;
/* rgb */ color: rgb(51, 41, 139);
/* oklch */ color: oklch(36.1% 0.155 279.9);
Tailwind
colors: {
  custom: {
    50: '#7664ae',
    500: '#33298b',
    950: '#000000',
  },
}
SCSS
$custom: #33298b;
$custom-light: #7664ae;
$custom-dark: #000000;
JSON
{
  "hex": "#33298b",
  "rgb": {
    "r": 51,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 246.122,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36105,
    "c": 0.15503,
    "h": 279.9
  },
  "luminance": 0.04154
}

Semantic roles & 50–950 ramp

primary
#33298B
secondary
#ACB55B
accent
#DE4ACF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #33298B

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

Preview Lab → · Contrast checker → · Palette generator →

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