#2A4AB0#2A4AB0

#2A4AB0 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.167 H 266.4°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#2A4AB0
RGBrgb(42, 74, 176)
HSLhsl(226, 61%, 43%)
HSVhsv(226, 76%, 69%)
CMYKcmyk(76.1%, 58%, 0%, 31%)
CIE-LABlab(35.05, 25.36, -57.71)
CIE-LCHlch(35.05, 63.04, 293.72°)
OKLaboklab(44.95% -0.0106 -0.1666)
OKLCHoklch(44.95% 0.167 266.4)
XYZxyz(11.2374, 8.5231, 42.1188)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4AB0 #B0902A
analogous
#2A8DB0 #2A4AB0 #4D2AB0
triadic
#2A4AB0 #B02A4A #4AB02A
tetradic
#2A4AB0 #B02A8D #B0902A #2AB04D
square
#2A4AB0 #B02A8D #B0902A #2AB04D
split-complementary
#2A4AB0 #B04D2A #8DB02A
monochromatic
#12204D #1E357F #2A4AB0 #4567D3 #768FDE

Accessibility & contrast

On white

7.76
#2A4AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2A4AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4AB0
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4AB0#FFFFFF#000000##FFFFFF
##2A4AB01.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a4ab0;
/* rgb */ color: rgb(42, 74, 176);
/* oklch */ color: oklch(45.0% 0.167 266.4);
Tailwind
colors: {
  custom: {
    50: '#787cc8',
    500: '#2a4ab0',
    950: '#000000',
  },
}
SCSS
$custom: #2a4ab0;
$custom-light: #787cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4ab0",
  "rgb": {
    "r": 42,
    "g": 74,
    "b": 176
  },
  "hsl": {
    "h": 225.672,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44952,
    "c": 0.1669,
    "h": 266.4
  },
  "luminance": 0.08524
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A4AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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