#33397A#33397A

#33397A is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.6% C 0.109 H 275.9°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#33397A
RGBrgb(51, 57, 122)
HSLhsl(235, 41%, 34%)
HSVhsv(235, 58%, 48%)
CMYKcmyk(58.2%, 53.3%, 0%, 52.2%)
CIE-LABlab(26.83, 18.15, -38.00)
CIE-LCHlch(26.83, 42.11, 295.53°)
OKLaboklab(37.63% 0.0111 -0.1086)
OKLCHoklch(37.63% 0.109 275.9)
XYZxyz(6.3401, 5.0348, 19.0463)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33397A #7A7433
analogous
#335D7A #33397A #51337A
triadic
#33397A #7A3339 #397A33
tetradic
#33397A #7A335D #7A7433 #337A51
square
#33397A #7A335D #7A7433 #337A51
split-complementary
#33397A #7A5133 #5D7A33
monochromatic
#0F1124 #21254F #33397A #454DA5 #686FC0

Accessibility & contrast

On white

10.46
#33397A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#33397A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33397A
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33397A#FFFFFF#000000##FFFFFF
##33397A1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16427C
Deuteranopia (green-blind)
#0A3D79
Tritanopia (blue-blind)
#0C4854
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #33397a;
/* rgb */ color: rgb(51, 57, 122);
/* oklch */ color: oklch(37.6% 0.109 275.9);
Tailwind
colors: {
  custom: {
    50: '#716fa1',
    500: '#33397a',
    950: '#000000',
  },
}
SCSS
$custom: #33397a;
$custom-light: #716fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#33397a",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 234.93,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3763,
    "c": 0.10919,
    "h": 275.9
  },
  "luminance": 0.05035
}

Semantic roles & 50–950 ramp

primary
#33397A
secondary
#A8A261
accent
#C757D1
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070F
muted
#7B7A7E

Preview Lab

Preview with #33397A

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

Preview Lab → · Contrast checker → · Palette generator →

#33397A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva