#2A4E91#2A4E91

#2A4E91 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.4% C 0.118 H 261.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#2A4E91
RGBrgb(42, 78, 145)
HSLhsl(219, 55%, 37%)
HSVhsv(219, 71%, 57%)
CMYKcmyk(71%, 46.2%, 0%, 43.1%)
CIE-LABlab(33.95, 10.79, -40.85)
CIE-LCHlch(33.95, 42.25, 284.80°)
OKLaboklab(43.41% -0.0173 -0.1169)
OKLCHoklch(43.41% 0.118 261.6)
XYZxyz(8.7882, 7.9844, 27.8606)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E91 #916D2A
analogous
#2A8291 #2A4E91 #3A2A91
triadic
#2A4E91 #912A4E #4E912A
tetradic
#2A4E91 #912A82 #916D2A #2A913A
square
#2A4E91 #912A82 #916D2A #2A913A
split-complementary
#2A4E91 #913A2A #82912A
monochromatic
#0F1B32 #1C3462 #2A4E91 #3868C0 #638AD2

Accessibility & contrast

On white

8.09
#2A4E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4E91
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E91#FFFFFF#000000##FFFFFF
##2A4E911.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5594
Deuteranopia (green-blind)
#194B90
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a4e91;
/* rgb */ color: rgb(42, 78, 145);
/* oklch */ color: oklch(43.4% 0.118 261.6);
Tailwind
colors: {
  custom: {
    50: '#707fb2',
    500: '#2a4e91',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e91;
$custom-light: #707fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e91",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 145
  },
  "hsl": {
    "h": 219.029,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43411,
    "c": 0.11818,
    "h": 261.6
  },
  "luminance": 0.07985
}

Semantic roles & 50–950 ramp

primary
#2A4E91
secondary
#B8995F
accent
#AA49DE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #2A4E91

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

Preview Lab → · Contrast checker → · Palette generator →

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