#2A4BB1#2A4BB1

#2A4BB1 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.167 H 266.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#2A4BB1
RGBrgb(42, 75, 177)
HSLhsl(225, 62%, 43%)
HSVhsv(225, 76%, 69%)
CMYKcmyk(76.3%, 57.6%, 0%, 30.6%)
CIE-LABlab(35.40, 25.08, -57.74)
CIE-LCHlch(35.40, 62.95, 293.48°)
OKLaboklab(45.24% -0.0113 -0.1666)
OKLCHoklch(45.24% 0.167 266.1)
XYZxyz(11.4039, 8.6975, 42.6642)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4BB1 #B1902A
analogous
#2A8FB1 #2A4BB1 #4C2AB1
triadic
#2A4BB1 #B12A4B #4BB12A
tetradic
#2A4BB1 #B12A8F #B1902A #2AB14C
square
#2A4BB1 #B12A8F #B1902A #2AB14C
split-complementary
#2A4BB1 #B14C2A #8FB12A
monochromatic
#13214E #1E3680 #2A4BB1 #4568D3 #7790DF

Accessibility & contrast

On white

7.66
#2A4BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2A4BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4BB1
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4BB1#FFFFFF#000000##FFFFFF
##2A4BB11.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a4bb1;
/* rgb */ color: rgb(42, 75, 177);
/* oklch */ color: oklch(45.2% 0.167 266.1);
Tailwind
colors: {
  custom: {
    50: '#787cc9',
    500: '#2a4bb1',
    950: '#000000',
  },
}
SCSS
$custom: #2a4bb1;
$custom-light: #787cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4bb1",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 225.333,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45236,
    "c": 0.16701,
    "h": 266.1
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#2A4BB1
secondary
#C6B170
accent
#BD43E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A4BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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