#33267E#33267E

#33267E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.141 H 282.8°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#33267E
RGBrgb(51, 38, 126)
HSLhsl(249, 54%, 32%)
HSVhsv(249, 70%, 49%)
CMYKcmyk(59.5%, 69.8%, 0%, 50.6%)
CIE-LABlab(22.29, 32.07, -47.91)
CIE-LCHlch(22.29, 57.65, 303.80°)
OKLaboklab(34.38% 0.0312 -0.1378)
OKLCHoklch(34.38% 0.141 282.8)
XYZxyz(5.8231, 3.5960, 20.1219)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33267E #717E26
analogous
#26457E #33267E #5F267E
triadic
#33267E #7E3326 #267E33
tetradic
#33267E #7E2645 #717E26 #267E5F
square
#33267E #7E2645 #717E26 #267E5F
split-complementary
#33267E #7E5F26 #457E26
monochromatic
#0D0A20 #20184F #33267E #4634AD #6553CB

Accessibility & contrast

On white

12.21
#33267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#33267E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33267E
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33267E#FFFFFF#000000##FFFFFF
##33267E1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#093D4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #33267e;
/* rgb */ color: rgb(51, 38, 126);
/* oklch */ color: oklch(34.4% 0.141 282.8);
Tailwind
colors: {
  custom: {
    50: '#7461a4',
    500: '#33267e',
    950: '#000000',
  },
}
SCSS
$custom: #33267e;
$custom-light: #7461a4;
$custom-dark: #000000;
JSON
{
  "hex": "#33267e",
  "rgb": {
    "r": 51,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 248.864,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34378,
    "c": 0.14134,
    "h": 282.8
  },
  "luminance": 0.03596
}

Semantic roles & 50–950 ramp

primary
#33267E
secondary
#A2B050
accent
#DD4BC7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #33267E

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

Preview Lab → · Contrast checker → · Palette generator →

#33267E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva