#2A47AA#2A47AA

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

Color values

HEX#2A47AA
RGBrgb(42, 71, 170)
HSLhsl(226, 60%, 42%)
HSVhsv(226, 75%, 67%)
CMYKcmyk(75.3%, 58.2%, 0%, 33.3%)
CIE-LABlab(33.77, 25.08, -56.21)
CIE-LCHlch(33.77, 61.55, 294.04°)
OKLaboklab(43.85% -0.0086 -0.1622)
OKLCHoklch(43.85% 0.162 267)
XYZxyz(10.4612, 7.8999, 38.9959)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A47AA #AA8D2A
analogous
#2A87AA #2A47AA #4D2AAA
triadic
#2A47AA #AA2A47 #47AA2A
tetradic
#2A47AA #AA2A87 #AA8D2A #2AAA4D
square
#2A47AA #AA2A87 #AA8D2A #2AAA4D
split-complementary
#2A47AA #AA4D2A #87AA2A
monochromatic
#121E48 #1E3379 #2A47AA #4162D0 #728ADC

Accessibility & contrast

On white

8.14
#2A47AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2A47AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A47AA
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A47AA#FFFFFF#000000##FFFFFF
##2A47AA1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a47aa;
/* rgb */ color: rgb(42, 71, 170);
/* oklch */ color: oklch(43.8% 0.162 267.0);
Tailwind
colors: {
  custom: {
    50: '#7679c4',
    500: '#2a47aa',
    950: '#000000',
  },
}
SCSS
$custom: #2a47aa;
$custom-light: #7679c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a47aa",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 226.406,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43847,
    "c": 0.16244,
    "h": 267
  },
  "luminance": 0.07901
}

Semantic roles & 50–950 ramp

primary
#2A47AA
secondary
#C3B06C
accent
#BF44E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A47AA

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

Preview Lab → · Contrast checker → · Palette generator →

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