#2A47A9#2A47A9

#2A47A9 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.161 H 266.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#2A47A9
RGBrgb(42, 71, 169)
HSLhsl(226, 60%, 41%)
HSVhsv(226, 75%, 66%)
CMYKcmyk(75.1%, 58%, 0%, 33.7%)
CIE-LABlab(33.69, 24.70, -55.75)
CIE-LCHlch(33.69, 60.97, 293.89°)
OKLaboklab(43.76% -0.0087 -0.1608)
OKLCHoklch(43.76% 0.161 266.9)
XYZxyz(10.3670, 7.8622, 38.4996)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A47A9 #A98C2A
analogous
#2A87A9 #2A47A9 #4D2AA9
triadic
#2A47A9 #A92A47 #47A92A
tetradic
#2A47A9 #A92A87 #A98C2A #2AA94D
square
#2A47A9 #A92A87 #A98C2A #2AA94D
split-complementary
#2A47A9 #A94D2A #87A92A
monochromatic
#121E47 #1E3278 #2A47A9 #4161D0 #728ADC

Accessibility & contrast

On white

8.16
#2A47A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2A47A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A47A9
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A47A9#FFFFFF#000000##FFFFFF
##2A47A91.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AC
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a47a9;
/* rgb */ color: rgb(42, 71, 169);
/* oklch */ color: oklch(43.8% 0.161 266.9);
Tailwind
colors: {
  custom: {
    50: '#7679c3',
    500: '#2a47a9',
    950: '#000000',
  },
}
SCSS
$custom: #2a47a9;
$custom-light: #7679c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a47a9",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 169
  },
  "hsl": {
    "h": 226.299,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43763,
    "c": 0.16107,
    "h": 266.9
  },
  "luminance": 0.07863
}

Semantic roles & 50–950 ramp

primary
#2A47A9
secondary
#C3AF6C
accent
#BF44E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A47A9

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

Preview Lab → · Contrast checker → · Palette generator →

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