#33388C#33388C

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

Color values

HEX#33388C
RGBrgb(51, 56, 140)
HSLhsl(237, 47%, 37%)
HSVhsv(237, 64%, 55%)
CMYKcmyk(63.6%, 60%, 0%, 45.1%)
CIE-LABlab(27.91, 25.29, -47.50)
CIE-LCHlch(27.91, 53.81, 298.03°)
OKLaboklab(38.87% 0.0129 -0.1366)
OKLCHoklch(38.87% 0.137 275.4)
XYZxyz(7.5115, 5.4250, 25.4572)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33388C #8C8733
analogous
#33658C #33388C #5A338C
triadic
#33388C #8C3338 #388C33
tetradic
#33388C #8C3365 #8C8733 #338C5A
square
#33388C #8C3365 #8C8733 #338C5A
split-complementary
#33388C #8C5A33 #658C33
monochromatic
#121432 #23265F #33388C #434AB9 #6F74CB

Accessibility & contrast

On white

10.07
#33388C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33388C
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33388C#FFFFFF#000000##FFFFFF
##33388C1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#003E8A
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #33388c;
/* rgb */ color: rgb(51, 56, 140);
/* oklch */ color: oklch(38.9% 0.137 275.4);
Tailwind
colors: {
  custom: {
    50: '#756eae',
    500: '#33388c',
    950: '#000000',
  },
}
SCSS
$custom: #33388c;
$custom-light: #756eae;
$custom-dark: #000000;
JSON
{
  "hex": "#33388c",
  "rgb": {
    "r": 51,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 236.629,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38865,
    "c": 0.13718,
    "h": 275.4
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#33388C
secondary
#B2AE68
accent
#CF52D6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #33388C

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

Preview Lab → · Contrast checker → · Palette generator →

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