#2A4AB3#2A4AB3

#2A4AB3 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.171 H 266.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2A4AB3
RGBrgb(42, 74, 179)
HSLhsl(226, 62%, 43%)
HSVhsv(226, 77%, 70%)
CMYKcmyk(76.5%, 58.7%, 0%, 29.8%)
CIE-LABlab(35.29, 26.50, -59.10)
CIE-LCHlch(35.29, 64.77, 294.15°)
OKLaboklab(45.21% -0.0105 -0.1706)
OKLCHoklch(45.21% 0.171 266.5)
XYZxyz(11.5375, 8.6432, 43.6993)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4AB3 #B3932A
analogous
#2A8EB3 #2A4AB3 #4E2AB3
triadic
#2A4AB3 #B32A4A #4AB32A
tetradic
#2A4AB3 #B32A8E #B3932A #2AB34E
square
#2A4AB3 #B32A8E #B3932A #2AB34E
split-complementary
#2A4AB3 #B34E2A #8EB32A
monochromatic
#132150 #1E3681 #2A4AB3 #4667D4 #7890DF

Accessibility & contrast

On white

7.70
#2A4AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2A4AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4AB3
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4AB3#FFFFFF#000000##FFFFFF
##2A4AB31.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a4ab3;
/* rgb */ color: rgb(42, 74, 179);
/* oklch */ color: oklch(45.2% 0.171 266.5);
Tailwind
colors: {
  custom: {
    50: '#787ccb',
    500: '#2a4ab3',
    950: '#000000',
  },
}
SCSS
$custom: #2a4ab3;
$custom-light: #787ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4ab3",
  "rgb": {
    "r": 42,
    "g": 74,
    "b": 179
  },
  "hsl": {
    "h": 225.985,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45205,
    "c": 0.17096,
    "h": 266.5
  },
  "luminance": 0.08644
}

Semantic roles & 50–950 ramp

primary
#2A4AB3
secondary
#C7B372
accent
#BF43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A4AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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