#33388D#33388D

#33388D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.139 H 275.4°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#33388D
RGBrgb(51, 56, 141)
HSLhsl(237, 47%, 38%)
HSVhsv(237, 64%, 55%)
CMYKcmyk(63.8%, 60.3%, 0%, 44.7%)
CIE-LABlab(27.99, 25.65, -47.99)
CIE-LCHlch(27.99, 54.41, 298.12°)
OKLaboklab(38.95% 0.0129 -0.138)
OKLCHoklch(38.95% 0.139 275.4)
XYZxyz(7.5856, 5.4546, 25.8472)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33388D #8D8833
analogous
#33658D #33388D #5B338D
triadic
#33388D #8D3338 #388D33
tetradic
#33388D #8D3365 #8D8833 #338D5B
square
#33388D #8D3365 #8D8833 #338D5B
split-complementary
#33388D #8D5B33 #658D33
monochromatic
#121433 #232660 #33388D #434ABA #6F74CB

Accessibility & contrast

On white

10.04
#33388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#33388D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33388D
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33388D#FFFFFF#000000##FFFFFF
##33388D1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #33388d;
/* rgb */ color: rgb(51, 56, 141);
/* oklch */ color: oklch(38.9% 0.139 275.4);
Tailwind
colors: {
  custom: {
    50: '#756eaf',
    500: '#33388d',
    950: '#000000',
  },
}
SCSS
$custom: #33388d;
$custom-light: #756eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#33388d",
  "rgb": {
    "r": 51,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 236.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38949,
    "c": 0.13861,
    "h": 275.4
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33388D

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

Preview Lab → · Contrast checker → · Palette generator →

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