#2A4AA8#2A4AA8

#2A4AA8 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.156 H 266.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#2A4AA8
RGBrgb(42, 74, 168)
HSLhsl(225, 60%, 41%)
HSVhsv(225, 75%, 66%)
CMYKcmyk(75%, 56%, 0%, 34.1%)
CIE-LABlab(34.43, 22.31, -53.96)
CIE-LCHlch(34.43, 58.39, 292.47°)
OKLaboklab(44.29% -0.011 -0.1555)
OKLCHoklch(44.29% 0.156 266)
XYZxyz(10.4690, 8.2158, 38.0723)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4AA8 #A8882A
analogous
#2A89A8 #2A4AA8 #492AA8
triadic
#2A4AA8 #A82A4A #4AA82A
tetradic
#2A4AA8 #A82A89 #A8882A #2AA849
square
#2A4AA8 #A82A89 #A8882A #2AA849
split-complementary
#2A4AA8 #A8492A #89A82A
monochromatic
#121F46 #1E3477 #2A4AA8 #4064CF #718CDB

Accessibility & contrast

On white

7.94
#2A4AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2A4AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4AA8
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4AA8#FFFFFF#000000##FFFFFF
##2A4AA81.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#004BA6
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a4aa8;
/* rgb */ color: rgb(42, 74, 168);
/* oklch */ color: oklch(44.3% 0.156 266.0);
Tailwind
colors: {
  custom: {
    50: '#767cc3',
    500: '#2a4aa8',
    950: '#000000',
  },
}
SCSS
$custom: #2a4aa8;
$custom-light: #767cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4aa8",
  "rgb": {
    "r": 42,
    "g": 74,
    "b": 168
  },
  "hsl": {
    "h": 224.762,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4429,
    "c": 0.15592,
    "h": 266
  },
  "luminance": 0.08217
}

Semantic roles & 50–950 ramp

primary
#2A4AA8
secondary
#C3AC6B
accent
#BB45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2A4AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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