#2A4CB5#2A4CB5

#2A4CB5 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.171 H 266.0°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#2A4CB5
RGBrgb(42, 76, 181)
HSLhsl(225, 62%, 44%)
HSVhsv(225, 77%, 71%)
CMYKcmyk(76.8%, 58%, 0%, 29%)
CIE-LABlab(35.98, 25.93, -59.16)
CIE-LCHlch(35.98, 64.59, 293.67°)
OKLaboklab(45.77% -0.0118 -0.1708)
OKLCHoklch(45.77% 0.171 266)
XYZxyz(11.8768, 8.9960, 44.8176)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4CB5 #B5932A
analogous
#2A91B5 #2A4CB5 #4D2AB5
triadic
#2A4CB5 #B52A4C #4CB52A
tetradic
#2A4CB5 #B52A91 #B5932A #2AB54D
square
#2A4CB5 #B52A91 #B5932A #2AB54D
split-complementary
#2A4CB5 #B54D2A #91B52A
monochromatic
#132252 #1E3783 #2A4CB5 #486AD4 #7992E0

Accessibility & contrast

On white

7.50
#2A4CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2A4CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4CB5
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4CB5#FFFFFF#000000##FFFFFF
##2A4CB51.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a4cb5;
/* rgb */ color: rgb(42, 76, 181);
/* oklch */ color: oklch(45.8% 0.171 266.0);
Tailwind
colors: {
  custom: {
    50: '#797dcc',
    500: '#2a4cb5',
    950: '#000000',
  },
}
SCSS
$custom: #2a4cb5;
$custom-light: #797dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4cb5",
  "rgb": {
    "r": 42,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 225.324,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4577,
    "c": 0.1712,
    "h": 266
  },
  "luminance": 0.08997
}

Semantic roles & 50–950 ramp

primary
#2A4CB5
secondary
#C8B373
accent
#BE42E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A4CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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