#2A4591#2A4591

#2A4591 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.130 H 266.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#2A4591
RGBrgb(42, 69, 145)
HSLhsl(224, 55%, 37%)
HSVhsv(224, 71%, 57%)
CMYKcmyk(71%, 52.4%, 0%, 43.1%)
CIE-LABlab(31.33, 16.86, -45.07)
CIE-LCHlch(31.33, 48.12, 290.51°)
OKLaboklab(41.41% -0.0088 -0.1295)
OKLCHoklch(41.41% 0.13 266.1)
XYZxyz(8.1920, 6.7920, 27.6618)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4591 #91762A
analogous
#2A7991 #2A4591 #432A91
triadic
#2A4591 #912A45 #45912A
tetradic
#2A4591 #912A79 #91762A #2A9143
square
#2A4591 #912A79 #91762A #2A9143
split-complementary
#2A4591 #91432A #79912A
monochromatic
#0F1832 #1C2E62 #2A4591 #385CC0 #6380D2

Accessibility & contrast

On white

8.90
#2A4591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2A4591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4591
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4591#FFFFFF#000000##FFFFFF
##2A45911.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164F94
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a4591;
/* rgb */ color: rgb(42, 69, 145);
/* oklch */ color: oklch(41.4% 0.130 266.1);
Tailwind
colors: {
  custom: {
    50: '#7178b2',
    500: '#2a4591',
    950: '#000000',
  },
}
SCSS
$custom: #2a4591;
$custom-light: #7178b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4591",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 224.272,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41406,
    "c": 0.12976,
    "h": 266.1
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

primary
#2A4591
secondary
#B8A15F
accent
#B749DE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A4591

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

Preview Lab → · Contrast checker → · Palette generator →

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