#2A4AA0#2A4AA0

#2A4AA0 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.6% C 0.145 H 265.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2A4AA0
RGBrgb(42, 74, 160)
HSLhsl(224, 58%, 40%)
HSVhsv(224, 74%, 63%)
CMYKcmyk(73.8%, 53.7%, 0%, 37.3%)
CIE-LABlab(33.83, 19.25, -50.13)
CIE-LCHlch(33.83, 53.70, 291.01°)
OKLaboklab(43.65% -0.0116 -0.1443)
OKLCHoklch(43.65% 0.145 265.4)
XYZxyz(9.7466, 7.9268, 34.2673)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4AA0 #A0802A
analogous
#2A85A0 #2A4AA0 #452AA0
triadic
#2A4AA0 #A02A4A #4AA02A
tetradic
#2A4AA0 #A02A85 #A0802A #2AA045
square
#2A4AA0 #A02A85 #A0802A #2AA045
split-complementary
#2A4AA0 #A0452A #85A02A
monochromatic
#111D3F #1D3470 #2A4AA0 #3C63CC #6C89D8

Accessibility & contrast

On white

8.12
#2A4AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2A4AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4AA0
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4AA0#FFFFFF#000000##FFFFFF
##2A4AA01.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C55A3
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a4aa0;
/* rgb */ color: rgb(42, 74, 160);
/* oklch */ color: oklch(43.6% 0.145 265.4);
Tailwind
colors: {
  custom: {
    50: '#747cbd',
    500: '#2a4aa0',
    950: '#000000',
  },
}
SCSS
$custom: #2a4aa0;
$custom-light: #747cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4aa0",
  "rgb": {
    "r": 42,
    "g": 74,
    "b": 160
  },
  "hsl": {
    "h": 223.729,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43649,
    "c": 0.14474,
    "h": 265.4
  },
  "luminance": 0.07928
}

Semantic roles & 50–950 ramp

primary
#2A4AA0
secondary
#BFA767
accent
#B746E2
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2A4AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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