#33388E#33388E

#33388E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.140 H 275.3°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#33388E
RGBrgb(51, 56, 142)
HSLhsl(237, 47%, 38%)
HSVhsv(237, 64%, 56%)
CMYKcmyk(64.1%, 60.6%, 0%, 44.3%)
CIE-LABlab(28.07, 26.01, -48.47)
CIE-LCHlch(28.07, 55.01, 298.21°)
OKLaboklab(39.03% 0.0129 -0.1394)
OKLCHoklch(39.03% 0.14 275.3)
XYZxyz(7.6603, 5.4845, 26.2409)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33388E #8E8933
analogous
#33668E #33388E #5B338E
triadic
#33388E #8E3338 #388E33
tetradic
#33388E #8E3366 #8E8933 #338E5B
square
#33388E #8E3366 #8E8933 #338E5B
split-complementary
#33388E #8E5B33 #668E33
monochromatic
#131434 #232661 #33388E #434ABB #7075CC

Accessibility & contrast

On white

10.01
#33388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#33388E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33388E
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33388E#FFFFFF#000000##FFFFFF
##33388E1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #33388e;
/* rgb */ color: rgb(51, 56, 142);
/* oklch */ color: oklch(39.0% 0.140 275.3);
Tailwind
colors: {
  custom: {
    50: '#756eb0',
    500: '#33388e',
    950: '#000000',
  },
}
SCSS
$custom: #33388e;
$custom-light: #756eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#33388e",
  "rgb": {
    "r": 51,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 236.703,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39033,
    "c": 0.14004,
    "h": 275.3
  },
  "luminance": 0.05485
}

Semantic roles & 50–950 ramp

primary
#33388E
secondary
#B4AF69
accent
#CF51D7
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #33388E

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

Preview Lab → · Contrast checker → · Palette generator →

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