#2A47AE#2A47AE

#2A47AE is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.168 H 267.1°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#2A47AE
RGBrgb(42, 71, 174)
HSLhsl(227, 61%, 42%)
HSVhsv(227, 76%, 68%)
CMYKcmyk(75.9%, 59.2%, 0%, 31.8%)
CIE-LABlab(34.09, 26.59, -58.08)
CIE-LCHlch(34.09, 63.88, 294.60°)
OKLaboklab(44.19% -0.0085 -0.1677)
OKLCHoklch(44.19% 0.168 267.1)
XYZxyz(10.8454, 8.0535, 41.0191)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A47AE #AE912A
analogous
#2A89AE #2A47AE #4F2AAE
triadic
#2A47AE #AE2A47 #47AE2A
tetradic
#2A47AE #AE2A89 #AE912A #2AAE4F
square
#2A47AE #AE2A89 #AE912A #2AAE4F
split-complementary
#2A47AE #AE4F2A #89AE2A
monochromatic
#121F4B #1E337D #2A47AE #4363D2 #758CDE

Accessibility & contrast

On white

8.04
#2A47AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2A47AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A47AE
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A47AE#FFFFFF#000000##FFFFFF
##2A47AE1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a47ae;
/* rgb */ color: rgb(42, 71, 174);
/* oklch */ color: oklch(44.2% 0.168 267.1);
Tailwind
colors: {
  custom: {
    50: '#7779c7',
    500: '#2a47ae',
    950: '#000000',
  },
}
SCSS
$custom: #2a47ae;
$custom-light: #7779c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a47ae",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 226.818,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44187,
    "c": 0.1679,
    "h": 267.1
  },
  "luminance": 0.08055
}

Semantic roles & 50–950 ramp

primary
#2A47AE
secondary
#C5B26F
accent
#C144E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A47AE

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

Preview Lab → · Contrast checker → · Palette generator →

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