#2A4BB4#2A4BB4

#2A4BB4 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.171 H 266.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#2A4BB4
RGBrgb(42, 75, 180)
HSLhsl(226, 62%, 44%)
HSVhsv(226, 77%, 71%)
CMYKcmyk(76.7%, 58.3%, 0%, 29.4%)
CIE-LABlab(35.63, 26.22, -59.13)
CIE-LCHlch(35.63, 64.68, 293.91°)
OKLaboklab(45.49% -0.0111 -0.1707)
OKLCHoklch(45.49% 0.171 266.3)
XYZxyz(11.7063, 8.8184, 44.2563)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4BB4 #B4932A
analogous
#2A90B4 #2A4BB4 #4E2AB4
triadic
#2A4BB4 #B42A4B #4BB42A
tetradic
#2A4BB4 #B42A90 #B4932A #2AB44E
square
#2A4BB4 #B42A90 #B4932A #2AB44E
split-complementary
#2A4BB4 #B44E2A #90B42A
monochromatic
#132251 #1E3682 #2A4BB4 #4769D4 #7991E0

Accessibility & contrast

On white

7.60
#2A4BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4BB4
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4BB4#FFFFFF#000000##FFFFFF
##2A4BB41.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a4bb4;
/* rgb */ color: rgb(42, 75, 180);
/* oklch */ color: oklch(45.5% 0.171 266.3);
Tailwind
colors: {
  custom: {
    50: '#797ccb',
    500: '#2a4bb4',
    950: '#000000',
  },
}
SCSS
$custom: #2a4bb4;
$custom-light: #797ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4bb4",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 225.652,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45488,
    "c": 0.17107,
    "h": 266.3
  },
  "luminance": 0.0882
}

Semantic roles & 50–950 ramp

primary
#2A4BB4
secondary
#C8B372
accent
#BE43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A4BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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