#2A4596#2A4596

#2A4596 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.137 H 266.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#2A4596
RGBrgb(42, 69, 150)
HSLhsl(225, 56%, 38%)
HSVhsv(225, 72%, 59%)
CMYKcmyk(72%, 54%, 0%, 41.2%)
CIE-LABlab(31.69, 18.78, -47.53)
CIE-LCHlch(31.69, 51.11, 291.56°)
OKLaboklab(41.8% -0.0083 -0.1367)
OKLCHoklch(41.8% 0.137 266.5)
XYZxyz(8.5861, 6.9496, 29.7372)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4596 #967B2A
analogous
#2A7B96 #2A4596 #452A96
triadic
#2A4596 #962A45 #45962A
tetradic
#2A4596 #962A7B #967B2A #2A9645
square
#2A4596 #962A7B #967B2A #2A9645
split-complementary
#2A4596 #96452A #7B962A
monochromatic
#0F1936 #1D2F66 #2A4596 #375BC6 #6682D4

Accessibility & contrast

On white

8.79
#2A4596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2A4596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4596
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4596#FFFFFF#000000##FFFFFF
##2A45961.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5099
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a4596;
/* rgb */ color: rgb(42, 69, 150);
/* oklch */ color: oklch(41.8% 0.137 266.5);
Tailwind
colors: {
  custom: {
    50: '#7278b5',
    500: '#2a4596',
    950: '#000000',
  },
}
SCSS
$custom: #2a4596;
$custom-light: #7278b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4596",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 150
  },
  "hsl": {
    "h": 225,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41797,
    "c": 0.13697,
    "h": 266.5
  },
  "luminance": 0.0695
}

Semantic roles & 50–950 ramp

primary
#2A4596
secondary
#BAA461
accent
#BA48E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A4596

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

Preview Lab → · Contrast checker → · Palette generator →

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