#2A4BA7#2A4BA7

#2A4BA7 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.4% C 0.153 H 265.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#2A4BA7
RGBrgb(42, 75, 167)
HSLhsl(224, 60%, 41%)
HSVhsv(224, 75%, 65%)
CMYKcmyk(74.9%, 55.1%, 0%, 34.5%)
CIE-LABlab(34.63, 21.26, -53.03)
CIE-LCHlch(34.63, 57.14, 291.85°)
OKLaboklab(44.42% -0.0119 -0.1528)
OKLCHoklch(44.42% 0.153 265.6)
XYZxyz(10.4435, 8.3133, 37.6059)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4BA7 #A7862A
analogous
#2A89A7 #2A4BA7 #472AA7
triadic
#2A4BA7 #A72A4B #4BA72A
tetradic
#2A4BA7 #A72A89 #A7862A #2AA747
square
#2A4BA7 #A72A89 #A7862A #2AA747
split-complementary
#2A4BA7 #A7472A #89A72A
monochromatic
#111F45 #1E3576 #2A4BA7 #3F65CF #708CDB

Accessibility & contrast

On white

7.89
#2A4BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2A4BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4BA7
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4BA7#FFFFFF#000000##FFFFFF
##2A4BA71.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a4ba7;
/* rgb */ color: rgb(42, 75, 167);
/* oklch */ color: oklch(44.4% 0.153 265.6);
Tailwind
colors: {
  custom: {
    50: '#767cc2',
    500: '#2a4ba7',
    950: '#000000',
  },
}
SCSS
$custom: #2a4ba7;
$custom-light: #767cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4ba7",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 167
  },
  "hsl": {
    "h": 224.16,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44416,
    "c": 0.15326,
    "h": 265.6
  },
  "luminance": 0.08314
}

Semantic roles & 50–950 ramp

primary
#2A4BA7
secondary
#C2AB6B
accent
#B945E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2A4BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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