#2A4EB0#2A4EB0

#2A4EB0 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.162 H 265.2°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#2A4EB0
RGBrgb(42, 78, 176)
HSLhsl(224, 61%, 43%)
HSVhsv(224, 76%, 69%)
CMYKcmyk(76.1%, 55.7%, 0%, 31%)
CIE-LABlab(36.13, 22.71, -55.96)
CIE-LCHlch(36.13, 60.39, 292.09°)
OKLaboklab(45.76% -0.0135 -0.1613)
OKLCHoklch(45.76% 0.162 265.2)
XYZxyz(11.5129, 9.0743, 42.2106)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4EB0 #B08C2A
analogous
#2A91B0 #2A4EB0 #492AB0
triadic
#2A4EB0 #B02A4E #4EB02A
tetradic
#2A4EB0 #B02A91 #B08C2A #2AB049
square
#2A4EB0 #B02A91 #B08C2A #2AB049
split-complementary
#2A4EB0 #B0492A #91B02A
monochromatic
#12224D #1E387F #2A4EB0 #456BD3 #7692DE

Accessibility & contrast

On white

7.46
#2A4EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2A4EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4EB0
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4EB0#FFFFFF#000000##FFFFFF
##2A4EB01.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a4eb0;
/* rgb */ color: rgb(42, 78, 176);
/* oklch */ color: oklch(45.8% 0.162 265.2);
Tailwind
colors: {
  custom: {
    50: '#777fc8',
    500: '#2a4eb0',
    950: '#000000',
  },
}
SCSS
$custom: #2a4eb0;
$custom-light: #777fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4eb0",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 176
  },
  "hsl": {
    "h": 223.881,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45762,
    "c": 0.16192,
    "h": 265.2
  },
  "luminance": 0.09076
}

Semantic roles & 50–950 ramp

primary
#2A4EB0
secondary
#C6AF70
accent
#B943E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2A4EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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