#33268B#33268B

#33268B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.159 H 280.5°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#33268B
RGBrgb(51, 38, 139)
HSLhsl(248, 57%, 35%)
HSVhsv(248, 73%, 55%)
CMYKcmyk(63.3%, 72.7%, 0%, 45.5%)
CIE-LABlab(23.52, 36.39, -54.06)
CIE-LCHlch(23.52, 65.16, 303.95°)
OKLaboklab(35.64% 0.0289 -0.1559)
OKLCHoklch(35.64% 0.159 280.5)
XYZxyz(6.7171, 3.9536, 24.8302)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33268B #7E8B26
analogous
#264B8B #33268B #66268B
triadic
#33268B #8B3326 #268B33
tetradic
#33268B #8B264B #7E8B26 #268B66
square
#33268B #8B264B #7E8B26 #268B66
split-complementary
#33268B #8B6626 #4B8B26
monochromatic
#100C2B #21195B #33268B #4533BB #695AD2

Accessibility & contrast

On white

11.73
#33268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#33268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33268B
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33268B#FFFFFF#000000##FFFFFF
##33268B1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003489
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #33268b;
/* rgb */ color: rgb(51, 38, 139);
/* oklch */ color: oklch(35.6% 0.159 280.5);
Tailwind
colors: {
  custom: {
    50: '#7662ae',
    500: '#33268b',
    950: '#000000',
  },
}
SCSS
$custom: #33268b;
$custom-light: #7662ae;
$custom-dark: #000000;
JSON
{
  "hex": "#33268b",
  "rgb": {
    "r": 51,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 247.723,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35636,
    "c": 0.15853,
    "h": 280.5
  },
  "luminance": 0.03954
}

Semantic roles & 50–950 ramp

primary
#33268B
secondary
#AAB756
accent
#E047CD
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #33268B

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

Preview Lab → · Contrast checker → · Palette generator →

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