#2A4BA4#2A4BA4

#2A4BA4 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.149 H 265.3°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#2A4BA4
RGBrgb(42, 75, 164)
HSLhsl(224, 59%, 40%)
HSVhsv(224, 74%, 64%)
CMYKcmyk(74.4%, 54.3%, 0%, 35.7%)
CIE-LABlab(34.40, 20.11, -51.60)
CIE-LCHlch(34.40, 55.38, 291.29°)
OKLaboklab(44.18% -0.0121 -0.1486)
OKLCHoklch(44.18% 0.149 265.3)
XYZxyz(10.1694, 8.2036, 36.1623)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4BA4 #A4832A
analogous
#2A88A4 #2A4BA4 #462AA4
triadic
#2A4BA4 #A42A4B #4BA42A
tetradic
#2A4BA4 #A42A88 #A4832A #2AA446
square
#2A4BA4 #A42A88 #A4832A #2AA446
split-complementary
#2A4BA4 #A4462A #88A42A
monochromatic
#111E43 #1E3573 #2A4BA4 #3E65CD #6E8CDA

Accessibility & contrast

On white

7.95
#2A4BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2A4BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4BA4
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4BA4#FFFFFF#000000##FFFFFF
##2A4BA41.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0557A7
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a4ba4;
/* rgb */ color: rgb(42, 75, 164);
/* oklch */ color: oklch(44.2% 0.149 265.3);
Tailwind
colors: {
  custom: {
    50: '#757cc0',
    500: '#2a4ba4',
    950: '#000000',
  },
}
SCSS
$custom: #2a4ba4;
$custom-light: #757cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4ba4",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 164
  },
  "hsl": {
    "h": 223.77,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44176,
    "c": 0.14908,
    "h": 265.3
  },
  "luminance": 0.08205
}

Semantic roles & 50–950 ramp

primary
#2A4BA4
secondary
#C1A969
accent
#B845E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2A4BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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