#2D478F#2D478F

#2D478F is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.123 H 266.2°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#2D478F
RGBrgb(45, 71, 143)
HSLhsl(224, 52%, 37%)
HSVhsv(224, 69%, 56%)
CMYKcmyk(68.5%, 50.3%, 0%, 43.9%)
CIE-LABlab(31.91, 15.23, -42.89)
CIE-LCHlch(31.91, 45.52, 289.55°)
OKLaboklab(41.85% -0.0081 -0.123)
OKLCHoklch(41.85% 0.123 266.2)
XYZxyz(8.2916, 7.0467, 26.9045)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D478F #8F752D
analogous
#2D788F #2D478F #442D8F
triadic
#2D478F #8F2D47 #478F2D
tetradic
#2D478F #8F2D78 #8F752D #2D8F44
square
#2D478F #8F2D78 #8F752D #2D8F44
split-complementary
#2D478F #8F442D #788F2D
monochromatic
#101932 #1E3060 #2D478F #3C5EBE #6783CF

Accessibility & contrast

On white

8.72
#2D478F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2D478F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D478F
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D478F#FFFFFF#000000##FFFFFF
##2D478F1.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)
#1F5092
Deuteranopia (green-blind)
#04478E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d478f;
/* rgb */ color: rgb(45, 71, 143);
/* oklch */ color: oklch(41.8% 0.123 266.2);
Tailwind
colors: {
  custom: {
    50: '#7279b0',
    500: '#2d478f',
    950: '#000000',
  },
}
SCSS
$custom: #2d478f;
$custom-light: #7279b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d478f",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 224.082,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41847,
    "c": 0.12324,
    "h": 266.2
  },
  "luminance": 0.07048
}

Semantic roles & 50–950 ramp

primary
#2D478F
secondary
#B6A062
accent
#B64CDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #2D478F

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

Preview Lab → · Contrast checker → · Palette generator →

#2D478F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva