#33478E#33478E

#33478E is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.1% C 0.120 H 269.0°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#33478E
RGBrgb(51, 71, 142)
HSLhsl(227, 47%, 38%)
HSVhsv(227, 64%, 56%)
CMYKcmyk(64.1%, 50%, 0%, 44.3%)
CIE-LABlab(32.17, 15.94, -41.84)
CIE-LCHlch(32.17, 44.78, 290.86°)
OKLaboklab(42.11% -0.0022 -0.1197)
OKLCHoklch(42.11% 0.12 269)
XYZxyz(8.4993, 7.1625, 26.5205)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33478E #8E7A33
analogous
#33748E #33478E #4C338E
triadic
#33478E #8E3347 #478E33
tetradic
#33478E #8E3374 #8E7A33 #338E4C
square
#33478E #8E3374 #8E7A33 #338E4C
split-complementary
#33478E #8E4C33 #748E33
monochromatic
#131A34 #233061 #33478E #435EBB #7084CC

Accessibility & contrast

On white

8.63
#33478E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33478E
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33478E#FFFFFF#000000##FFFFFF
##33478E1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225091
Deuteranopia (green-blind)
#0F488D
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #33478e;
/* rgb */ color: rgb(51, 71, 142);
/* oklch */ color: oklch(42.1% 0.120 269.0);
Tailwind
colors: {
  custom: {
    50: '#7479af',
    500: '#33478e',
    950: '#000000',
  },
}
SCSS
$custom: #33478e;
$custom-light: #7479af;
$custom-dark: #000000;
JSON
{
  "hex": "#33478e",
  "rgb": {
    "r": 51,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 226.813,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42113,
    "c": 0.11977,
    "h": 269
  },
  "luminance": 0.07163
}

Semantic roles & 50–950 ramp

primary
#33478E
secondary
#B4A369
accent
#B951D7
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #33478E

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

Preview Lab → · Contrast checker → · Palette generator →

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