#33297F#33297F

#33297F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.139 H 281.7°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#33297F
RGBrgb(51, 41, 127)
HSLhsl(247, 51%, 33%)
HSVhsv(247, 68%, 50%)
CMYKcmyk(59.8%, 67.7%, 0%, 50.2%)
CIE-LABlab(23.07, 30.53, -47.26)
CIE-LCHlch(23.07, 56.26, 302.87°)
OKLaboklab(34.97% 0.0282 -0.1359)
OKLCHoklch(34.97% 0.139 281.7)
XYZxyz(5.9878, 3.8216, 20.4967)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33297F #757F29
analogous
#294A7F #33297F #5E297F
triadic
#33297F #7F3329 #297F33
tetradic
#33297F #7F294A #757F29 #297F5E
square
#33297F #7F294A #757F29 #297F5E
split-complementary
#33297F #7F5E29 #4A7F29
monochromatic
#0E0B22 #201A51 #33297F #4638AD #6659C9

Accessibility & contrast

On white

11.90
#33297F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#33297F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33297F
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33297F#FFFFFF#000000##FFFFFF
##33297F1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#063F50
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #33297f;
/* rgb */ color: rgb(51, 41, 127);
/* oklch */ color: oklch(35.0% 0.139 281.7);
Tailwind
colors: {
  custom: {
    50: '#7363a5',
    500: '#33297f',
    950: '#000000',
  },
}
SCSS
$custom: #33297f;
$custom-light: #7363a5;
$custom-dark: #000000;
JSON
{
  "hex": "#33297f",
  "rgb": {
    "r": 51,
    "g": 41,
    "b": 127
  },
  "hsl": {
    "h": 246.977,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34973,
    "c": 0.13885,
    "h": 281.7
  },
  "luminance": 0.03822
}

Semantic roles & 50–950 ramp

primary
#33297F
secondary
#A4AF55
accent
#DB4DCA
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #33297F

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

Preview Lab → · Contrast checker → · Palette generator →

#33297F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva