#2A4991#2A4991

#2A4991 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.125 H 264.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2A4991
RGBrgb(42, 73, 145)
HSLhsl(222, 55%, 37%)
HSVhsv(222, 71%, 57%)
CMYKcmyk(71%, 49.7%, 0%, 43.1%)
CIE-LABlab(32.48, 14.15, -43.21)
CIE-LCHlch(32.48, 45.47, 288.13°)
OKLaboklab(42.29% -0.0125 -0.1239)
OKLCHoklch(42.29% 0.125 264.2)
XYZxyz(8.4464, 7.3008, 27.7466)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4991 #91722A
analogous
#2A7D91 #2A4991 #3F2A91
triadic
#2A4991 #912A49 #49912A
tetradic
#2A4991 #912A7D #91722A #2A913F
square
#2A4991 #912A7D #91722A #2A913F
split-complementary
#2A4991 #913F2A #7D912A
monochromatic
#0F1932 #1C3162 #2A4991 #3861C0 #6385D2

Accessibility & contrast

On white

8.54
#2A4991 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2A4991 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4991
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4991#FFFFFF#000000##FFFFFF
##2A49911.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225194
Deuteranopia (green-blind)
#044890
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a4991;
/* rgb */ color: rgb(42, 73, 145);
/* oklch */ color: oklch(42.3% 0.125 264.2);
Tailwind
colors: {
  custom: {
    50: '#717bb2',
    500: '#2a4991',
    950: '#000000',
  },
}
SCSS
$custom: #2a4991;
$custom-light: #717bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4991",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 145
  },
  "hsl": {
    "h": 221.942,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42285,
    "c": 0.12455,
    "h": 264.2
  },
  "luminance": 0.07302
}

Semantic roles & 50–950 ramp

primary
#2A4991
secondary
#B89D5F
accent
#B249DE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #2A4991

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

Preview Lab → · Contrast checker → · Palette generator →

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