#2A47A3#2A47A3

#2A47A3 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.153 H 266.6°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2A47A3
RGBrgb(42, 71, 163)
HSLhsl(226, 59%, 40%)
HSVhsv(226, 74%, 64%)
CMYKcmyk(74.2%, 56.4%, 0%, 36.1%)
CIE-LABlab(33.23, 22.41, -52.91)
CIE-LCHlch(33.23, 57.46, 292.95°)
OKLaboklab(43.26% -0.009 -0.1525)
OKLCHoklch(43.26% 0.153 266.6)
XYZxyz(9.8166, 7.6420, 35.6009)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A47A3 #A3862A
analogous
#2A83A3 #2A47A3 #4A2AA3
triadic
#2A47A3 #A32A47 #47A32A
tetradic
#2A47A3 #A32A83 #A3862A #2AA34A
square
#2A47A3 #A32A83 #A3862A #2AA34A
split-complementary
#2A47A3 #A34A2A #83A32A
monochromatic
#111D42 #1D3272 #2A47A3 #3D60CD #6E88DA

Accessibility & contrast

On white

8.30
#2A47A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2A47A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A47A3
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A47A3#FFFFFF#000000##FFFFFF
##2A47A31.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#0049A1
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a47a3;
/* rgb */ color: rgb(42, 71, 163);
/* oklch */ color: oklch(43.3% 0.153 266.6);
Tailwind
colors: {
  custom: {
    50: '#7579bf',
    500: '#2a47a3',
    950: '#000000',
  },
}
SCSS
$custom: #2a47a3;
$custom-light: #7579bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a47a3",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 163
  },
  "hsl": {
    "h": 225.62,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43264,
    "c": 0.15276,
    "h": 266.6
  },
  "luminance": 0.07643
}

Semantic roles & 50–950 ramp

primary
#2A47A3
secondary
#C0AB68
accent
#BD46E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2A47A3

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

Preview Lab → · Contrast checker → · Palette generator →

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