#33478B#33478B

#33478B is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.9% C 0.115 H 268.7°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#33478B
RGBrgb(51, 71, 139)
HSLhsl(226, 46%, 37%)
HSVhsv(226, 63%, 55%)
CMYKcmyk(63.3%, 48.9%, 0%, 45.5%)
CIE-LABlab(31.97, 14.84, -40.32)
CIE-LCHlch(31.97, 42.97, 290.20°)
OKLaboklab(41.9% -0.0026 -0.1153)
OKLCHoklch(41.9% 0.115 268.7)
XYZxyz(8.2771, 7.0737, 25.3503)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33478B #8B7733
analogous
#33738B #33478B #4B338B
triadic
#33478B #8B3347 #478B33
tetradic
#33478B #8B3373 #8B7733 #338B4B
square
#33478B #8B3373 #8B7733 #338B4B
split-complementary
#33478B #8B4B33 #738B33
monochromatic
#121931 #23305E #33478B #435EB8 #6E83CA

Accessibility & contrast

On white

8.70
#33478B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#33478B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33478B
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33478B#FFFFFF#000000##FFFFFF
##33478B1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8E
Deuteranopia (green-blind)
#15478A
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #33478b;
/* rgb */ color: rgb(51, 71, 139);
/* oklch */ color: oklch(41.9% 0.115 268.7);
Tailwind
colors: {
  custom: {
    50: '#7479ad',
    500: '#33478b',
    950: '#000000',
  },
}
SCSS
$custom: #33478b;
$custom-light: #7479ad;
$custom-dark: #000000;
JSON
{
  "hex": "#33478b",
  "rgb": {
    "r": 51,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 226.364,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41896,
    "c": 0.11531,
    "h": 268.7
  },
  "luminance": 0.07074
}

Semantic roles & 50–950 ramp

primary
#33478B
secondary
#B2A168
accent
#B852D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #33478B

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

Preview Lab → · Contrast checker → · Palette generator →

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