#2A4E93#2A4E93

#2A4E93 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.6% C 0.121 H 261.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2A4E93
RGBrgb(42, 78, 147)
HSLhsl(219, 56%, 37%)
HSVhsv(219, 71%, 58%)
CMYKcmyk(71.4%, 46.9%, 0%, 42.4%)
CIE-LABlab(34.08, 11.56, -41.86)
CIE-LCHlch(34.08, 43.43, 285.44°)
OKLaboklab(43.55% -0.017 -0.1199)
OKLCHoklch(43.55% 0.121 261.9)
XYZxyz(8.9438, 8.0467, 28.6799)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E93 #936F2A
analogous
#2A8393 #2A4E93 #3B2A93
triadic
#2A4E93 #932A4E #4E932A
tetradic
#2A4E93 #932A83 #936F2A #2A933B
square
#2A4E93 #932A83 #936F2A #2A933B
split-complementary
#2A4E93 #933B2A #83932A
monochromatic
#0F1B34 #1C3563 #2A4E93 #3867C3 #658AD3

Accessibility & contrast

On white

8.05
#2A4E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2A4E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E93
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E93#FFFFFF#000000##FFFFFF
##2A4E931.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5596
Deuteranopia (green-blind)
#154C92
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a4e93;
/* rgb */ color: rgb(42, 78, 147);
/* oklch */ color: oklch(43.6% 0.121 261.9);
Tailwind
colors: {
  custom: {
    50: '#717fb3',
    500: '#2a4e93',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e93;
$custom-light: #717fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e93",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 147
  },
  "hsl": {
    "h": 219.429,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43552,
    "c": 0.12107,
    "h": 261.9
  },
  "luminance": 0.08048
}

Semantic roles & 50–950 ramp

primary
#2A4E93
secondary
#B99A60
accent
#AB49DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2A4E93

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

Preview Lab → · Contrast checker → · Palette generator →

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