#2A4AA2#2A4AA2

#2A4AA2 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.148 H 265.5°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#2A4AA2
RGBrgb(42, 74, 162)
HSLhsl(224, 59%, 40%)
HSVhsv(224, 74%, 64%)
CMYKcmyk(74.1%, 54.3%, 0%, 36.5%)
CIE-LABlab(33.98, 20.01, -51.09)
CIE-LCHlch(33.98, 54.87, 291.39°)
OKLaboklab(43.81% -0.0115 -0.1471)
OKLCHoklch(43.81% 0.148 265.5)
XYZxyz(9.9229, 7.9974, 35.1961)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4AA2 #A2822A
analogous
#2A86A2 #2A4AA2 #462AA2
triadic
#2A4AA2 #A22A4A #4AA22A
tetradic
#2A4AA2 #A22A86 #A2822A #2AA246
square
#2A4AA2 #A22A86 #A2822A #2AA246
split-complementary
#2A4AA2 #A2462A #86A22A
monochromatic
#111E41 #1D3471 #2A4AA2 #3D63CD #6D8AD9

Accessibility & contrast

On white

8.08
#2A4AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4AA2
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4AA2#FFFFFF#000000##FFFFFF
##2A4AA21.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0556A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a4aa2;
/* rgb */ color: rgb(42, 74, 162);
/* oklch */ color: oklch(43.8% 0.148 265.5);
Tailwind
colors: {
  custom: {
    50: '#747cbe',
    500: '#2a4aa2',
    950: '#000000',
  },
}
SCSS
$custom: #2a4aa2;
$custom-light: #747cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4aa2",
  "rgb": {
    "r": 42,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 224,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.43807,
    "c": 0.14755,
    "h": 265.5
  },
  "luminance": 0.07998
}

Semantic roles & 50–950 ramp

primary
#2A4AA2
secondary
#C0A868
accent
#B846E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2A4AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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