#33478D#33478D

#33478D is a dark, moderate blue. Relative luminance 0.071; OKLCH L 42.0% C 0.118 H 268.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#33478D
RGBrgb(51, 71, 141)
HSLhsl(227, 47%, 38%)
HSVhsv(227, 64%, 55%)
CMYKcmyk(63.8%, 49.6%, 0%, 44.7%)
CIE-LABlab(32.11, 15.58, -41.34)
CIE-LCHlch(32.11, 44.18, 290.65°)
OKLaboklab(42.04% -0.0023 -0.1183)
OKLCHoklch(42.04% 0.118 268.9)
XYZxyz(8.4246, 7.1326, 26.1269)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33478D #8D7933
analogous
#33748D #33478D #4C338D
triadic
#33478D #8D3347 #478D33
tetradic
#33478D #8D3374 #8D7933 #338D4C
square
#33478D #8D3374 #8D7933 #338D4C
split-complementary
#33478D #8D4C33 #748D33
monochromatic
#121A33 #233060 #33478D #435EBA #6F84CB

Accessibility & contrast

On white

8.65
#33478D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#33478D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33478D
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33478D#FFFFFF#000000##FFFFFF
##33478D1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235090
Deuteranopia (green-blind)
#11488C
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #33478d;
/* rgb */ color: rgb(51, 71, 141);
/* oklch */ color: oklch(42.0% 0.118 268.9);
Tailwind
colors: {
  custom: {
    50: '#7479af',
    500: '#33478d',
    950: '#000000',
  },
}
SCSS
$custom: #33478d;
$custom-light: #7479af;
$custom-dark: #000000;
JSON
{
  "hex": "#33478d",
  "rgb": {
    "r": 51,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 226.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4204,
    "c": 0.11828,
    "h": 268.9
  },
  "luminance": 0.07133
}

Semantic roles & 50–950 ramp

primary
#33478D
secondary
#B3A369
accent
#B951D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #33478D

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

Preview Lab → · Contrast checker → · Palette generator →

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