#2A4BA9#2A4BA9

#2A4BA9 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.6% C 0.156 H 265.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#2A4BA9
RGBrgb(42, 75, 169)
HSLhsl(224, 60%, 41%)
HSVhsv(224, 75%, 66%)
CMYKcmyk(75.1%, 55.6%, 0%, 33.7%)
CIE-LABlab(34.78, 22.03, -53.98)
CIE-LCHlch(34.78, 58.31, 292.20°)
OKLaboklab(44.58% -0.0117 -0.1556)
OKLCHoklch(44.58% 0.156 265.7)
XYZxyz(10.6298, 8.3878, 38.5872)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4BA9 #A9882A
analogous
#2A8BA9 #2A4BA9 #482AA9
triadic
#2A4BA9 #A92A4B #4BA92A
tetradic
#2A4BA9 #A92A8B #A9882A #2AA948
square
#2A4BA9 #A92A8B #A9882A #2AA948
split-complementary
#2A4BA9 #A9482A #8BA92A
monochromatic
#121F47 #1E3578 #2A4BA9 #4166D0 #728DDC

Accessibility & contrast

On white

7.84
#2A4BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2A4BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4BA9
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4BA9#FFFFFF#000000##FFFFFF
##2A4BA91.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#004CA7
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a4ba9;
/* rgb */ color: rgb(42, 75, 169);
/* oklch */ color: oklch(44.6% 0.156 265.7);
Tailwind
colors: {
  custom: {
    50: '#767cc3',
    500: '#2a4ba9',
    950: '#000000',
  },
}
SCSS
$custom: #2a4ba9;
$custom-light: #767cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4ba9",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 169
  },
  "hsl": {
    "h": 224.409,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44577,
    "c": 0.15604,
    "h": 265.7
  },
  "luminance": 0.08389
}

Semantic roles & 50–950 ramp

primary
#2A4BA9
secondary
#C3AC6C
accent
#BA44E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A4BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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