#33268C#33268C

#33268C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.160 H 280.4°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#33268C
RGBrgb(51, 38, 140)
HSLhsl(248, 57%, 35%)
HSVhsv(248, 73%, 55%)
CMYKcmyk(63.6%, 72.9%, 0%, 45.1%)
CIE-LABlab(23.62, 36.72, -54.52)
CIE-LCHlch(23.62, 65.73, 303.96°)
OKLaboklab(35.74% 0.0287 -0.1572)
OKLCHoklch(35.74% 0.16 280.4)
XYZxyz(6.7905, 3.9830, 25.2168)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33268C #7F8C26
analogous
#264C8C #33268C #66268C
triadic
#33268C #8C3326 #268C33
tetradic
#33268C #8C264C #7F8C26 #268C66
square
#33268C #8C264C #7F8C26 #268C66
split-complementary
#33268C #8C6626 #4C8C26
monochromatic
#100C2C #21195C #33268C #4533BC #695AD2

Accessibility & contrast

On white

11.69
#33268C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#33268C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33268C
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33268C#FFFFFF#000000##FFFFFF
##33268C1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00348A
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #33268c;
/* rgb */ color: rgb(51, 38, 140);
/* oklch */ color: oklch(35.7% 0.160 280.4);
Tailwind
colors: {
  custom: {
    50: '#7662af',
    500: '#33268c',
    950: '#000000',
  },
}
SCSS
$custom: #33268c;
$custom-light: #7662af;
$custom-dark: #000000;
JSON
{
  "hex": "#33268c",
  "rgb": {
    "r": 51,
    "g": 38,
    "b": 140
  },
  "hsl": {
    "h": 247.647,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35736,
    "c": 0.15984,
    "h": 280.4
  },
  "luminance": 0.03983
}

Semantic roles & 50–950 ramp

primary
#33268C
secondary
#ABB757
accent
#E147CD
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #33268C

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

Preview Lab → · Contrast checker → · Palette generator →

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