#2A4EA9#2A4EA9

#2A4EA9 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.2% C 0.152 H 264.7°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#2A4EA9
RGBrgb(42, 78, 169)
HSLhsl(223, 60%, 41%)
HSVhsv(223, 75%, 66%)
CMYKcmyk(75.1%, 53.8%, 0%, 33.7%)
CIE-LABlab(35.60, 20.03, -52.64)
CIE-LCHlch(35.60, 56.32, 290.83°)
OKLaboklab(45.2% -0.0141 -0.1516)
OKLCHoklch(45.2% 0.152 264.7)
XYZxyz(10.8381, 8.8044, 38.6566)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4EA9 #A9852A
analogous
#2A8EA9 #2A4EA9 #462AA9
triadic
#2A4EA9 #A92A4E #4EA92A
tetradic
#2A4EA9 #A92A8E #A9852A #2AA946
square
#2A4EA9 #A92A8E #A9852A #2AA946
split-complementary
#2A4EA9 #A9462A #8EA92A
monochromatic
#122147 #1E3778 #2A4EA9 #4169D0 #7290DC

Accessibility & contrast

On white

7.61
#2A4EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4EA9
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4EA9#FFFFFF#000000##FFFFFF
##2A4EA91.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085AAC
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a4ea9;
/* rgb */ color: rgb(42, 78, 169);
/* oklch */ color: oklch(45.2% 0.152 264.7);
Tailwind
colors: {
  custom: {
    50: '#767fc3',
    500: '#2a4ea9',
    950: '#000000',
  },
}
SCSS
$custom: #2a4ea9;
$custom-light: #767fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4ea9",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 222.992,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45202,
    "c": 0.15225,
    "h": 264.7
  },
  "luminance": 0.08806
}

Semantic roles & 50–950 ramp

primary
#2A4EA9
secondary
#C3AA6C
accent
#B644E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2A4EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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