#2A47B0#2A47B0

#2A47B0 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.171 H 267.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2A47B0
RGBrgb(42, 71, 176)
HSLhsl(227, 61%, 43%)
HSVhsv(227, 76%, 69%)
CMYKcmyk(76.1%, 59.7%, 0%, 31%)
CIE-LABlab(34.26, 27.35, -59.00)
CIE-LCHlch(34.26, 65.03, 294.87°)
OKLaboklab(44.36% -0.0085 -0.1704)
OKLCHoklch(44.36% 0.171 267.2)
XYZxyz(11.0418, 8.1321, 42.0536)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A47B0 #B0932A
analogous
#2A8AB0 #2A47B0 #502AB0
triadic
#2A47B0 #B02A47 #47B02A
tetradic
#2A47B0 #B02A8A #B0932A #2AB050
square
#2A47B0 #B02A8A #B0932A #2AB050
split-complementary
#2A47B0 #B0502A #8AB02A
monochromatic
#121F4D #1E337F #2A47B0 #4563D3 #768DDE

Accessibility & contrast

On white

8.00
#2A47B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2A47B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A47B0
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A47B0#FFFFFF#000000##FFFFFF
##2A47B01.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#004BAE
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a47b0;
/* rgb */ color: rgb(42, 71, 176);
/* oklch */ color: oklch(44.4% 0.171 267.2);
Tailwind
colors: {
  custom: {
    50: '#7879c8',
    500: '#2a47b0',
    950: '#000000',
  },
}
SCSS
$custom: #2a47b0;
$custom-light: #7879c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a47b0",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 176
  },
  "hsl": {
    "h": 227.015,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44359,
    "c": 0.17061,
    "h": 267.2
  },
  "luminance": 0.08133
}

Semantic roles & 50–950 ramp

primary
#2A47B0
secondary
#C6B370
accent
#C243E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A47B0

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

Preview Lab → · Contrast checker → · Palette generator →

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