#2A4D96#2A4D96

#2A4D96 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.127 H 263.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#2A4D96
RGBrgb(42, 77, 150)
HSLhsl(221, 56%, 38%)
HSVhsv(221, 72%, 59%)
CMYKcmyk(72%, 48.7%, 0%, 41.2%)
CIE-LABlab(33.99, 13.38, -43.83)
CIE-LCHlch(33.99, 45.83, 286.98°)
OKLaboklab(43.54% -0.0155 -0.1257)
OKLCHoklch(43.54% 0.127 263)
XYZxyz(9.1118, 8.0011, 29.9124)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4D96 #96732A
analogous
#2A8396 #2A4D96 #3D2A96
triadic
#2A4D96 #962A4D #4D962A
tetradic
#2A4D96 #962A83 #96732A #2A963D
square
#2A4D96 #962A83 #96732A #2A963D
split-complementary
#2A4D96 #963D2A #83962A
monochromatic
#0F1C36 #1D3466 #2A4D96 #3766C6 #668AD4

Accessibility & contrast

On white

8.08
#2A4D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2A4D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4D96
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4D96#FFFFFF#000000##FFFFFF
##2A4D961.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265599
Deuteranopia (green-blind)
#094B95
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a4d96;
/* rgb */ color: rgb(42, 77, 150);
/* oklch */ color: oklch(43.5% 0.127 263.0);
Tailwind
colors: {
  custom: {
    50: '#727eb5',
    500: '#2a4d96',
    950: '#000000',
  },
}
SCSS
$custom: #2a4d96;
$custom-light: #727eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4d96",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 150
  },
  "hsl": {
    "h": 220.556,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43543,
    "c": 0.12666,
    "h": 263
  },
  "luminance": 0.08002
}

Semantic roles & 50–950 ramp

primary
#2A4D96
secondary
#BA9E61
accent
#AF48E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2A4D96

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

Preview Lab → · Contrast checker → · Palette generator →

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