#2A4DAD#2A4DAD

#2A4DAD is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.159 H 265.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#2A4DAD
RGBrgb(42, 77, 173)
HSLhsl(224, 61%, 42%)
HSVhsv(224, 76%, 68%)
CMYKcmyk(75.7%, 55.5%, 0%, 32.2%)
CIE-LABlab(35.63, 22.22, -54.99)
CIE-LCHlch(35.63, 59.31, 292.01°)
OKLaboklab(45.31% -0.013 -0.1585)
OKLCHoklch(45.31% 0.159 265.3)
XYZxyz(11.1489, 8.8159, 40.6411)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4DAD #AD8A2A
analogous
#2A8FAD #2A4DAD #482AAD
triadic
#2A4DAD #AD2A4D #4DAD2A
tetradic
#2A4DAD #AD2A8F #AD8A2A #2AAD48
square
#2A4DAD #AD2A8F #AD8A2A #2AAD48
split-complementary
#2A4DAD #AD482A #8FAD2A
monochromatic
#12214B #1E377C #2A4DAD #4369D1 #7490DD

Accessibility & contrast

On white

7.60
#2A4DAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2A4DAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4DAD
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4DAD#FFFFFF#000000##FFFFFF
##2A4DAD1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#004EAB
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a4dad;
/* rgb */ color: rgb(42, 77, 173);
/* oklch */ color: oklch(45.3% 0.159 265.3);
Tailwind
colors: {
  custom: {
    50: '#777ec6',
    500: '#2a4dad',
    950: '#000000',
  },
}
SCSS
$custom: #2a4dad;
$custom-light: #777ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4dad",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 173
  },
  "hsl": {
    "h": 223.969,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45314,
    "c": 0.15904,
    "h": 265.3
  },
  "luminance": 0.08817
}

Semantic roles & 50–950 ramp

primary
#2A4DAD
secondary
#C5AE6E
accent
#B944E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A4DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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