#2A4AAD#2A4AAD

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

Color values

HEX#2A4AAD
RGBrgb(42, 74, 173)
HSLhsl(225, 61%, 42%)
HSVhsv(225, 76%, 68%)
CMYKcmyk(75.7%, 57.2%, 0%, 32.2%)
CIE-LABlab(34.81, 24.22, -56.31)
CIE-LCHlch(34.81, 61.30, 293.27°)
OKLaboklab(44.7% -0.0107 -0.1624)
OKLCHoklch(44.7% 0.163 266.2)
XYZxyz(10.9438, 8.4057, 40.5728)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4AAD #AD8D2A
analogous
#2A8BAD #2A4AAD #4C2AAD
triadic
#2A4AAD #AD2A4A #4AAD2A
tetradic
#2A4AAD #AD2A8B #AD8D2A #2AAD4C
square
#2A4AAD #AD2A8B #AD8D2A #2AAD4C
split-complementary
#2A4AAD #AD4C2A #8BAD2A
monochromatic
#12204B #1E357C #2A4AAD #4366D1 #748EDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A4AAD#FFFFFF#000000##FFFFFF
##2A4AAD1.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)
#0058B0
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a4aad;
/* rgb */ color: rgb(42, 74, 173);
/* oklch */ color: oklch(44.7% 0.163 266.2);
Tailwind
colors: {
  custom: {
    50: '#777cc6',
    500: '#2a4aad',
    950: '#000000',
  },
}
SCSS
$custom: #2a4aad;
$custom-light: #777cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4aad",
  "rgb": {
    "r": 42,
    "g": 74,
    "b": 173
  },
  "hsl": {
    "h": 225.344,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44701,
    "c": 0.1628,
    "h": 266.2
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#2A4AAD
secondary
#C5B06E
accent
#BD44E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A4AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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