#2A47B3#2A47B3

#2A47B3 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.175 H 267.2°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2A47B3
RGBrgb(42, 71, 179)
HSLhsl(227, 62%, 43%)
HSVhsv(227, 77%, 70%)
CMYKcmyk(76.5%, 60.3%, 0%, 29.8%)
CIE-LABlab(34.50, 28.48, -60.38)
CIE-LCHlch(34.50, 66.76, 295.25°)
OKLaboklab(44.62% -0.0084 -0.1744)
OKLCHoklch(44.62% 0.175 267.2)
XYZxyz(11.3419, 8.2521, 43.6342)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A47B3 #B3962A
analogous
#2A8BB3 #2A47B3 #512AB3
triadic
#2A47B3 #B32A47 #47B32A
tetradic
#2A47B3 #B32A8B #B3962A #2AB351
square
#2A47B3 #B32A8B #B3962A #2AB351
split-complementary
#2A47B3 #B3512A #8BB32A
monochromatic
#132050 #1E3381 #2A47B3 #4664D4 #788EDF

Accessibility & contrast

On white

7.92
#2A47B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2A47B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A47B3
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A47B3#FFFFFF#000000##FFFFFF
##2A47B31.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a47b3;
/* rgb */ color: rgb(42, 71, 179);
/* oklch */ color: oklch(44.6% 0.175 267.2);
Tailwind
colors: {
  custom: {
    50: '#7979cb',
    500: '#2a47b3',
    950: '#000000',
  },
}
SCSS
$custom: #2a47b3;
$custom-light: #7979cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a47b3",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 179
  },
  "hsl": {
    "h": 227.299,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44619,
    "c": 0.17464,
    "h": 267.2
  },
  "luminance": 0.08253
}

Semantic roles & 50–950 ramp

primary
#2A47B3
secondary
#C7B572
accent
#C343E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A47B3

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

Preview Lab → · Contrast checker → · Palette generator →

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