#2A4B96#2A4B96

#2A4B96 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.129 H 263.9°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#2A4B96
RGBrgb(42, 75, 150)
HSLhsl(222, 56%, 38%)
HSVhsv(222, 72%, 59%)
CMYKcmyk(72%, 50%, 0%, 41.2%)
CIE-LABlab(33.40, 14.73, -44.77)
CIE-LCHlch(33.40, 47.13, 288.21°)
OKLaboklab(43.1% -0.0137 -0.1285)
OKLCHoklch(43.1% 0.129 263.9)
XYZxyz(8.9740, 7.7255, 29.8665)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4B96 #96752A
analogous
#2A8196 #2A4B96 #3F2A96
triadic
#2A4B96 #962A4B #4B962A
tetradic
#2A4B96 #962A81 #96752A #2A963F
square
#2A4B96 #962A81 #96752A #2A963F
split-complementary
#2A4B96 #963F2A #81962A
monochromatic
#0F1B36 #1D3366 #2A4B96 #3763C6 #6688D4

Accessibility & contrast

On white

8.25
#2A4B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2A4B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4B96
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4B96#FFFFFF#000000##FFFFFF
##2A4B961.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215499
Deuteranopia (green-blind)
#004A94
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a4b96;
/* rgb */ color: rgb(42, 75, 150);
/* oklch */ color: oklch(43.1% 0.129 263.9);
Tailwind
colors: {
  custom: {
    50: '#727cb5',
    500: '#2a4b96',
    950: '#000000',
  },
}
SCSS
$custom: #2a4b96;
$custom-light: #727cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4b96",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 150
  },
  "hsl": {
    "h": 221.667,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43099,
    "c": 0.12921,
    "h": 263.9
  },
  "luminance": 0.07726
}

Semantic roles & 50–950 ramp

primary
#2A4B96
secondary
#BA9F61
accent
#B148E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2A4B96

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

Preview Lab → · Contrast checker → · Palette generator →

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