#33367E#33367E

#33367E is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.3% C 0.120 H 277.1°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#33367E
RGBrgb(51, 54, 126)
HSLhsl(238, 42%, 35%)
HSVhsv(238, 60%, 49%)
CMYKcmyk(59.5%, 57.1%, 0%, 50.6%)
CIE-LABlab(26.30, 21.62, -41.39)
CIE-LCHlch(26.30, 46.69, 297.58°)
OKLaboklab(37.32% 0.0148 -0.1186)
OKLCHoklch(37.32% 0.12 277.1)
XYZxyz(6.4491, 4.8480, 20.3305)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33367E #7E7B33
analogous
#335C7E #33367E #56337E
triadic
#33367E #7E3336 #367E33
tetradic
#33367E #7E335C #7E7B33 #337E56
square
#33367E #7E335C #7E7B33 #337E56
split-complementary
#33367E #7E5633 #5C7E33
monochromatic
#101127 #212352 #33367E #4549AA #696DC2

Accessibility & contrast

On white

10.66
#33367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#33367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33367E
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33367E#FFFFFF#000000##FFFFFF
##33367E1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044180
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#054754
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #33367e;
/* rgb */ color: rgb(51, 54, 126);
/* oklch */ color: oklch(37.3% 0.120 277.1);
Tailwind
colors: {
  custom: {
    50: '#726da4',
    500: '#33367e',
    950: '#000000',
  },
}
SCSS
$custom: #33367e;
$custom-light: #726da4;
$custom-dark: #000000;
JSON
{
  "hex": "#33367e",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 237.6,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3732,
    "c": 0.11953,
    "h": 277.1
  },
  "luminance": 0.04848
}

Semantic roles & 50–950 ramp

primary
#33367E
secondary
#AAA763
accent
#CD56D2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #33367E

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

Preview Lab → · Contrast checker → · Palette generator →

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