#33278D#33278D

#33278D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.160 H 280.0°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#33278D
RGBrgb(51, 39, 141)
HSLhsl(247, 57%, 35%)
HSVhsv(247, 72%, 55%)
CMYKcmyk(63.8%, 72.3%, 0%, 44.7%)
CIE-LABlab(23.93, 36.46, -54.63)
CIE-LCHlch(23.93, 65.68, 303.72°)
OKLaboklab(35.99% 0.0278 -0.1576)
OKLCHoklch(35.99% 0.16 280)
XYZxyz(6.8970, 4.0774, 25.6177)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33278D #818D27
analogous
#274E8D #33278D #66278D
triadic
#33278D #8D3327 #278D33
tetradic
#33278D #8D274E #818D27 #278D66
square
#33278D #8D274E #818D27 #278D66
split-complementary
#33278D #8D6627 #4E8D27
monochromatic
#100C2D #221A5D #33278D #4434BD #6A5CD2

Accessibility & contrast

On white

11.57
#33278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#33278D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33278D
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33278D#FFFFFF#000000##FFFFFF
##33278D1.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #33278d;
/* rgb */ color: rgb(51, 39, 141);
/* oklch */ color: oklch(36.0% 0.160 280.0);
Tailwind
colors: {
  custom: {
    50: '#7663af',
    500: '#33278d',
    950: '#000000',
  },
}
SCSS
$custom: #33278d;
$custom-light: #7663af;
$custom-dark: #000000;
JSON
{
  "hex": "#33278d",
  "rgb": {
    "r": 51,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 247.059,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35987,
    "c": 0.15999,
    "h": 280
  },
  "luminance": 0.04078
}

Semantic roles & 50–950 ramp

primary
#33278D
secondary
#ACB759
accent
#E048CE
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #33278D

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

Preview Lab → · Contrast checker → · Palette generator →

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