#2A4CAA#2A4CAA

#2A4CAA is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.9% C 0.156 H 265.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#2A4CAA
RGBrgb(42, 76, 170)
HSLhsl(224, 60%, 42%)
HSVhsv(224, 75%, 67%)
CMYKcmyk(75.3%, 55.3%, 0%, 33.3%)
CIE-LABlab(35.13, 21.74, -54.01)
CIE-LCHlch(35.13, 58.23, 291.93°)
OKLaboklab(44.87% -0.0124 -0.1557)
OKLCHoklch(44.87% 0.156 265.4)
XYZxyz(10.7924, 8.5622, 39.1063)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4CAA #AA882A
analogous
#2A8CAA #2A4CAA #482AAA
triadic
#2A4CAA #AA2A4C #4CAA2A
tetradic
#2A4CAA #AA2A8C #AA882A #2AAA48
square
#2A4CAA #AA2A8C #AA882A #2AAA48
split-complementary
#2A4CAA #AA482A #8CAA2A
monochromatic
#122048 #1E3679 #2A4CAA #4167D0 #728EDC

Accessibility & contrast

On white

7.74
#2A4CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2A4CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4CAA
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4CAA#FFFFFF#000000##FFFFFF
##2A4CAA1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#004DA8
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a4caa;
/* rgb */ color: rgb(42, 76, 170);
/* oklch */ color: oklch(44.9% 0.156 265.4);
Tailwind
colors: {
  custom: {
    50: '#767dc4',
    500: '#2a4caa',
    950: '#000000',
  },
}
SCSS
$custom: #2a4caa;
$custom-light: #767dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4caa",
  "rgb": {
    "r": 42,
    "g": 76,
    "b": 170
  },
  "hsl": {
    "h": 224.063,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44865,
    "c": 0.15617,
    "h": 265.4
  },
  "luminance": 0.08563
}

Semantic roles & 50–950 ramp

primary
#2A4CAA
secondary
#C3AC6C
accent
#B944E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A4CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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