#33388B#33388B

#33388B is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.136 H 275.5°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#33388B
RGBrgb(51, 56, 139)
HSLhsl(237, 46%, 37%)
HSVhsv(237, 63%, 55%)
CMYKcmyk(63.3%, 59.7%, 0%, 45.5%)
CIE-LABlab(27.83, 24.93, -47.01)
CIE-LCHlch(27.83, 53.21, 297.94°)
OKLaboklab(38.78% 0.0129 -0.1351)
OKLCHoklch(38.78% 0.136 275.5)
XYZxyz(7.4381, 5.3956, 25.0706)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33388B #8B8633
analogous
#33648B #33388B #5A338B
triadic
#33388B #8B3338 #388B33
tetradic
#33388B #8B3364 #8B8633 #338B5A
square
#33388B #8B3364 #8B8633 #338B5A
split-complementary
#33388B #8B5A33 #648B33
monochromatic
#121431 #23265E #33388B #434AB8 #6E74CA

Accessibility & contrast

On white

10.10
#33388B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#33388B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33388B
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33388B#FFFFFF#000000##FFFFFF
##33388B1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #33388b;
/* rgb */ color: rgb(51, 56, 139);
/* oklch */ color: oklch(38.8% 0.136 275.5);
Tailwind
colors: {
  custom: {
    50: '#756eae',
    500: '#33388b',
    950: '#000000',
  },
}
SCSS
$custom: #33388b;
$custom-light: #756eae;
$custom-dark: #000000;
JSON
{
  "hex": "#33388b",
  "rgb": {
    "r": 51,
    "g": 56,
    "b": 139
  },
  "hsl": {
    "h": 236.591,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38781,
    "c": 0.13575,
    "h": 275.5
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33388B

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

Preview Lab → · Contrast checker → · Palette generator →

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