#2A4EA0#2A4EA0

#2A4EA0 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.5% C 0.140 H 263.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#2A4EA0
RGBrgb(42, 78, 160)
HSLhsl(222, 58%, 40%)
HSVhsv(222, 74%, 63%)
CMYKcmyk(73.8%, 51.2%, 0%, 37.3%)
CIE-LABlab(34.96, 16.56, -48.30)
CIE-LCHlch(34.96, 51.06, 288.93°)
OKLaboklab(44.51% -0.015 -0.1388)
OKLCHoklch(44.51% 0.14 263.8)
XYZxyz(10.0221, 8.4780, 34.3591)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4EA0 #A07C2A
analogous
#2A89A0 #2A4EA0 #412AA0
triadic
#2A4EA0 #A02A4E #4EA02A
tetradic
#2A4EA0 #A02A89 #A07C2A #2AA041
square
#2A4EA0 #A02A89 #A07C2A #2AA041
split-complementary
#2A4EA0 #A0412A #89A02A
monochromatic
#111F3F #1D3670 #2A4EA0 #3C67CC #6C8DD8

Accessibility & contrast

On white

7.79
#2A4EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2A4EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4EA0
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4EA0#FFFFFF#000000##FFFFFF
##2A4EA01.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C58A3
Deuteranopia (green-blind)
#004D9E
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a4ea0;
/* rgb */ color: rgb(42, 78, 160);
/* oklch */ color: oklch(44.5% 0.140 263.8);
Tailwind
colors: {
  custom: {
    50: '#747fbd',
    500: '#2a4ea0',
    950: '#000000',
  },
}
SCSS
$custom: #2a4ea0;
$custom-light: #747fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4ea0",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 160
  },
  "hsl": {
    "h": 221.695,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44507,
    "c": 0.13963,
    "h": 263.8
  },
  "luminance": 0.08479
}

Semantic roles & 50–950 ramp

primary
#2A4EA0
secondary
#BFA467
accent
#B246E2
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2A4EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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