#2A4DAE#2A4DAE

#2A4DAE is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.160 H 265.4°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#2A4DAE
RGBrgb(42, 77, 174)
HSLhsl(224, 61%, 42%)
HSVhsv(224, 76%, 68%)
CMYKcmyk(75.9%, 55.7%, 0%, 31.8%)
CIE-LABlab(35.70, 22.61, -55.46)
CIE-LCHlch(35.70, 59.89, 292.18°)
OKLaboklab(45.39% -0.0129 -0.1599)
OKLCHoklch(45.39% 0.16 265.4)
XYZxyz(11.2460, 8.8547, 41.1526)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4DAE #AE8B2A
analogous
#2A8FAE #2A4DAE #492AAE
triadic
#2A4DAE #AE2A4D #4DAE2A
tetradic
#2A4DAE #AE2A8F #AE8B2A #2AAE49
square
#2A4DAE #AE2A8F #AE8B2A #2AAE49
split-complementary
#2A4DAE #AE492A #8FAE2A
monochromatic
#12214B #1E377D #2A4DAE #4369D2 #7591DE

Accessibility & contrast

On white

7.58
#2A4DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2A4DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4DAE
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4DAE#FFFFFF#000000##FFFFFF
##2A4DAE1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a4dae;
/* rgb */ color: rgb(42, 77, 174);
/* oklch */ color: oklch(45.4% 0.160 265.4);
Tailwind
colors: {
  custom: {
    50: '#777ec7',
    500: '#2a4dae',
    950: '#000000',
  },
}
SCSS
$custom: #2a4dae;
$custom-light: #777ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4dae",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 174
  },
  "hsl": {
    "h": 224.091,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45394,
    "c": 0.16042,
    "h": 265.4
  },
  "luminance": 0.08856
}

Semantic roles & 50–950 ramp

primary
#2A4DAE
secondary
#C5AE6F
accent
#BA44E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A4DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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