#2A4BB5#2A4BB5

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

Color values

HEX#2A4BB5
RGBrgb(42, 75, 181)
HSLhsl(226, 62%, 44%)
HSVhsv(226, 77%, 71%)
CMYKcmyk(76.8%, 58.6%, 0%, 29%)
CIE-LABlab(35.71, 26.59, -59.59)
CIE-LCHlch(35.71, 65.26, 294.05°)
OKLaboklab(45.57% -0.0111 -0.1721)
OKLCHoklch(45.57% 0.172 266.3)
XYZxyz(11.8085, 8.8593, 44.7948)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4BB5 #B5942A
analogous
#2A90B5 #2A4BB5 #4E2AB5
triadic
#2A4BB5 #B52A4B #4BB52A
tetradic
#2A4BB5 #B52A90 #B5942A #2AB54E
square
#2A4BB5 #B52A90 #B5942A #2AB54E
split-complementary
#2A4BB5 #B54E2A #90B52A
monochromatic
#132252 #1E3683 #2A4BB5 #4869D4 #7992E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A4BB5#FFFFFF#000000##FFFFFF
##2A4BB51.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)
#005BB9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a4bb5;
/* rgb */ color: rgb(42, 75, 181);
/* oklch */ color: oklch(45.6% 0.172 266.3);
Tailwind
colors: {
  custom: {
    50: '#797ccc',
    500: '#2a4bb5',
    950: '#000000',
  },
}
SCSS
$custom: #2a4bb5;
$custom-light: #797ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4bb5",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 225.755,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45572,
    "c": 0.17243,
    "h": 266.3
  },
  "luminance": 0.08861
}

Semantic roles & 50–950 ramp

primary
#2A4BB5
secondary
#C8B473
accent
#BF42E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A4BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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