#33368E#33368E

#33368E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.143 H 276.0°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#33368E
RGBrgb(51, 54, 142)
HSLhsl(238, 47%, 38%)
HSVhsv(238, 64%, 56%)
CMYKcmyk(64.1%, 62%, 0%, 44.3%)
CIE-LABlab(27.56, 27.33, -49.31)
CIE-LCHlch(27.56, 56.38, 299.00°)
OKLaboklab(38.65% 0.0148 -0.1419)
OKLCHoklch(38.65% 0.143 276)
XYZxyz(7.5653, 5.2945, 26.2092)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33368E #8E8B33
analogous
#33638E #33368E #5D338E
triadic
#33368E #8E3336 #368E33
tetradic
#33368E #8E3363 #8E8B33 #338E5D
square
#33368E #8E3363 #8E8B33 #338E5D
split-complementary
#33368E #8E5D33 #638E33
monochromatic
#131434 #232561 #33368E #4347BB #7073CC

Accessibility & contrast

On white

10.20
#33368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#33368E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33368E
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33368E#FFFFFF#000000##FFFFFF
##33368E1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #33368e;
/* rgb */ color: rgb(51, 54, 142);
/* oklch */ color: oklch(38.7% 0.143 276.0);
Tailwind
colors: {
  custom: {
    50: '#756db0',
    500: '#33368e',
    950: '#000000',
  },
}
SCSS
$custom: #33368e;
$custom-light: #756db0;
$custom-dark: #000000;
JSON
{
  "hex": "#33368e",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 238.022,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38653,
    "c": 0.14269,
    "h": 276
  },
  "luminance": 0.05295
}

Semantic roles & 50–950 ramp

primary
#33368E
secondary
#B4B169
accent
#D251D7
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #33368E

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

Preview Lab → · Contrast checker → · Palette generator →

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