#33478A#33478A

#33478A is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.8% C 0.114 H 268.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#33478A
RGBrgb(51, 71, 138)
HSLhsl(226, 46%, 37%)
HSVhsv(226, 63%, 54%)
CMYKcmyk(63%, 48.6%, 0%, 45.9%)
CIE-LABlab(31.91, 14.47, -39.81)
CIE-LCHlch(31.91, 42.36, 289.98°)
OKLaboklab(41.83% -0.0027 -0.1138)
OKLCHoklch(41.83% 0.114 268.6)
XYZxyz(8.2044, 7.0446, 24.9672)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33478A #8A7633
analogous
#33738A #33478A #4B338A
triadic
#33478A #8A3347 #478A33
tetradic
#33478A #8A3373 #8A7633 #338A4B
square
#33478A #8A3373 #8A7633 #338A4B
split-complementary
#33478A #8A4B33 #738A33
monochromatic
#121931 #22305D #33478A #445EB7 #6E83C9

Accessibility & contrast

On white

8.72
#33478A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33478A
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33478A#FFFFFF#000000##FFFFFF
##33478A1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8C
Deuteranopia (green-blind)
#174789
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #33478a;
/* rgb */ color: rgb(51, 71, 138);
/* oklch */ color: oklch(41.8% 0.114 268.6);
Tailwind
colors: {
  custom: {
    50: '#7379ad',
    500: '#33478a',
    950: '#000000',
  },
}
SCSS
$custom: #33478a;
$custom-light: #7379ad;
$custom-dark: #000000;
JSON
{
  "hex": "#33478a",
  "rgb": {
    "r": 51,
    "g": 71,
    "b": 138
  },
  "hsl": {
    "h": 226.207,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41825,
    "c": 0.11381,
    "h": 268.6
  },
  "luminance": 0.07045
}

Semantic roles & 50–950 ramp

primary
#33478A
secondary
#B1A067
accent
#B752D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #33478A

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

Preview Lab → · Contrast checker → · Palette generator →

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