#2A4C91#2A4C91

#2A4C91 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.121 H 262.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#2A4C91
RGBrgb(42, 76, 145)
HSLhsl(220, 55%, 37%)
HSVhsv(220, 71%, 57%)
CMYKcmyk(71%, 47.6%, 0%, 43.1%)
CIE-LABlab(33.36, 12.13, -41.80)
CIE-LCHlch(33.36, 43.52, 286.18°)
OKLaboklab(42.96% -0.0154 -0.1197)
OKLCHoklch(42.96% 0.121 262.7)
XYZxyz(8.6483, 7.7046, 27.8139)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4C91 #916F2A
analogous
#2A8091 #2A4C91 #3C2A91
triadic
#2A4C91 #912A4C #4C912A
tetradic
#2A4C91 #912A80 #916F2A #2A913C
square
#2A4C91 #912A80 #916F2A #2A913C
split-complementary
#2A4C91 #913C2A #80912A
monochromatic
#0F1A32 #1C3362 #2A4C91 #3865C0 #6388D2

Accessibility & contrast

On white

8.26
#2A4C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2A4C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4C91
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4C91#FFFFFF#000000##FFFFFF
##2A4C911.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285394
Deuteranopia (green-blind)
#124A90
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a4c91;
/* rgb */ color: rgb(42, 76, 145);
/* oklch */ color: oklch(43.0% 0.121 262.7);
Tailwind
colors: {
  custom: {
    50: '#717db2',
    500: '#2a4c91',
    950: '#000000',
  },
}
SCSS
$custom: #2a4c91;
$custom-light: #717db2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4c91",
  "rgb": {
    "r": 42,
    "g": 76,
    "b": 145
  },
  "hsl": {
    "h": 220.194,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42957,
    "c": 0.1207,
    "h": 262.7
  },
  "luminance": 0.07705
}

Semantic roles & 50–950 ramp

primary
#2A4C91
secondary
#B89B5F
accent
#AD49DE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #2A4C91

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

Preview Lab → · Contrast checker → · Palette generator →

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