#2A47B7#2A47B7

#2A47B7 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.180 H 267.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#2A47B7
RGBrgb(42, 71, 183)
HSLhsl(228, 63%, 44%)
HSVhsv(228, 77%, 72%)
CMYKcmyk(77%, 61.2%, 0%, 28.2%)
CIE-LABlab(34.84, 29.98, -62.20)
CIE-LCHlch(34.84, 69.05, 295.73°)
OKLaboklab(44.97% -0.0084 -0.1798)
OKLCHoklch(44.97% 0.18 267.3)
XYZxyz(11.7523, 8.4163, 45.7957)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A47B7 #B79A2A
analogous
#2A8EB7 #2A47B7 #542AB7
triadic
#2A47B7 #B72A47 #47B72A
tetradic
#2A47B7 #B72A8E #B79A2A #2AB754
square
#2A47B7 #B72A8E #B79A2A #2AB754
split-complementary
#2A47B7 #B7542A #8EB72A
monochromatic
#132053 #1F3485 #2A47B7 #4966D5 #7B90E1

Accessibility & contrast

On white

7.83
#2A47B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2A47B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A47B7
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A47B7#FFFFFF#000000##FFFFFF
##2A47B71.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#004BB5
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a47b7;
/* rgb */ color: rgb(42, 71, 183);
/* oklch */ color: oklch(45.0% 0.180 267.3);
Tailwind
colors: {
  custom: {
    50: '#7a7ace',
    500: '#2a47b7',
    950: '#000000',
  },
}
SCSS
$custom: #2a47b7;
$custom-light: #7a7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#2a47b7",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 183
  },
  "hsl": {
    "h": 227.66,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4497,
    "c": 0.17999,
    "h": 267.3
  },
  "luminance": 0.08418
}

Semantic roles & 50–950 ramp

primary
#2A47B7
secondary
#C9B774
accent
#C442E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2A47B7

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

Preview Lab → · Contrast checker → · Palette generator →

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