#33478C#33478C

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

Color values

HEX#33478C
RGBrgb(51, 71, 140)
HSLhsl(227, 47%, 37%)
HSVhsv(227, 64%, 55%)
CMYKcmyk(63.6%, 49.3%, 0%, 45.1%)
CIE-LABlab(32.04, 15.21, -40.83)
CIE-LCHlch(32.04, 43.57, 290.43°)
OKLaboklab(41.97% -0.0025 -0.1168)
OKLCHoklch(41.97% 0.117 268.8)
XYZxyz(8.3505, 7.1030, 25.7368)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33478C #8C7833
analogous
#33738C #33478C #4C338C
triadic
#33478C #8C3347 #478C33
tetradic
#33478C #8C3373 #8C7833 #338C4C
square
#33478C #8C3373 #8C7833 #338C4C
split-complementary
#33478C #8C4C33 #738C33
monochromatic
#121A32 #23305F #33478C #435EB9 #6F83CB

Accessibility & contrast

On white

8.67
#33478C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#33478C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33478C
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33478C#FFFFFF#000000##FFFFFF
##33478C1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24508F
Deuteranopia (green-blind)
#13488B
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #33478c;
/* rgb */ color: rgb(51, 71, 140);
/* oklch */ color: oklch(42.0% 0.117 268.8);
Tailwind
colors: {
  custom: {
    50: '#7479ae',
    500: '#33478c',
    950: '#000000',
  },
}
SCSS
$custom: #33478c;
$custom-light: #7479ae;
$custom-dark: #000000;
JSON
{
  "hex": "#33478c",
  "rgb": {
    "r": 51,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 226.517,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41968,
    "c": 0.1168,
    "h": 268.8
  },
  "luminance": 0.07104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33478C

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

Preview Lab → · Contrast checker → · Palette generator →

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