#2A4EA5#2A4EA5

#2A4EA5 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.9% C 0.147 H 264.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#2A4EA5
RGBrgb(42, 78, 165)
HSLhsl(222, 59%, 41%)
HSVhsv(222, 75%, 65%)
CMYKcmyk(74.5%, 52.7%, 0%, 35.3%)
CIE-LABlab(35.31, 18.49, -50.73)
CIE-LCHlch(35.31, 53.99, 290.03°)
OKLaboklab(44.89% -0.0145 -0.146)
OKLCHoklch(44.89% 0.147 264.3)
XYZxyz(10.4684, 8.6565, 36.7092)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4EA5 #A5812A
analogous
#2A8BA5 #2A4EA5 #432AA5
triadic
#2A4EA5 #A52A4E #4EA52A
tetradic
#2A4EA5 #A52A8B #A5812A #2AA543
square
#2A4EA5 #A52A8B #A5812A #2AA543
split-complementary
#2A4EA5 #A5432A #8BA52A
monochromatic
#112043 #1E3774 #2A4EA5 #3E68CE #6F8EDA

Accessibility & contrast

On white

7.69
#2A4EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2A4EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4EA5
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4EA5#FFFFFF#000000##FFFFFF
##2A4EA51.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1359A8
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a4ea5;
/* rgb */ color: rgb(42, 78, 165);
/* oklch */ color: oklch(44.9% 0.147 264.3);
Tailwind
colors: {
  custom: {
    50: '#757fc0',
    500: '#2a4ea5',
    950: '#000000',
  },
}
SCSS
$custom: #2a4ea5;
$custom-light: #757fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4ea5",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 222.439,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4489,
    "c": 0.14668,
    "h": 264.3
  },
  "luminance": 0.08658
}

Semantic roles & 50–950 ramp

primary
#2A4EA5
secondary
#C1A869
accent
#B545E3
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2A4EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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