#2A47A0#2A47A0

#2A47A0 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.149 H 266.5°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#2A47A0
RGBrgb(42, 71, 160)
HSLhsl(225, 58%, 40%)
HSVhsv(225, 74%, 63%)
CMYKcmyk(73.8%, 55.6%, 0%, 37.3%)
CIE-LABlab(33.00, 21.26, -51.48)
CIE-LCHlch(33.00, 55.70, 292.44°)
OKLaboklab(43.02% -0.0092 -0.1483)
OKLCHoklch(43.02% 0.149 266.5)
XYZxyz(9.5510, 7.5358, 34.2021)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A47A0 #A0832A
analogous
#2A82A0 #2A47A0 #482AA0
triadic
#2A47A0 #A02A47 #47A02A
tetradic
#2A47A0 #A02A82 #A0832A #2AA048
square
#2A47A0 #A02A82 #A0832A #2AA048
split-complementary
#2A47A0 #A0482A #82A02A
monochromatic
#111C3F #1D3170 #2A47A0 #3C5FCC #6C87D8

Accessibility & contrast

On white

8.38
#2A47A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2A47A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A47A0
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A47A0#FFFFFF#000000##FFFFFF
##2A47A01.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#00489E
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a47a0;
/* rgb */ color: rgb(42, 71, 160);
/* oklch */ color: oklch(43.0% 0.149 266.5);
Tailwind
colors: {
  custom: {
    50: '#7479bd',
    500: '#2a47a0',
    950: '#000000',
  },
}
SCSS
$custom: #2a47a0;
$custom-light: #7479bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a47a0",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 160
  },
  "hsl": {
    "h": 225.254,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43019,
    "c": 0.14857,
    "h": 266.5
  },
  "luminance": 0.07537
}

Semantic roles & 50–950 ramp

primary
#2A47A0
secondary
#BFA967
accent
#BB46E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2A47A0

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

Preview Lab → · Contrast checker → · Palette generator →

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