#2A4476#2A4476

#2A4476 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.2% C 0.091 H 262.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2A4476
RGBrgb(42, 68, 118)
HSLhsl(219, 48%, 31%)
HSVhsv(219, 64%, 46%)
CMYKcmyk(64.4%, 42.4%, 0%, 53.7%)
CIE-LABlab(29.25, 7.23, -31.66)
CIE-LCHlch(29.25, 32.47, 282.87°)
OKLaboklab(39.24% -0.0122 -0.09)
OKLCHoklch(39.24% 0.091 262.3)
XYZxyz(6.2908, 5.9339, 17.9499)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4476 #765C2A
analogous
#2A6A76 #2A4476 #362A76
triadic
#2A4476 #762A44 #44762A
tetradic
#2A4476 #762A6A #765C2A #2A7636
square
#2A4476 #762A6A #765C2A #2A7636
split-complementary
#2A4476 #76362A #6A762A
monochromatic
#0A101C #1A2A49 #2A4476 #3A5EA3 #577CC3

Accessibility & contrast

On white

9.60
#2A4476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2A4476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4476
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4476#FFFFFF#000000##FFFFFF
##2A44761.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4978
Deuteranopia (green-blind)
#234275
Tritanopia (blue-blind)
#004F57
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a4476;
/* rgb */ color: rgb(42, 68, 118);
/* oklch */ color: oklch(39.2% 0.091 262.3);
Tailwind
colors: {
  custom: {
    50: '#6b779e',
    500: '#2a4476',
    950: '#000000',
  },
}
SCSS
$custom: #2a4476;
$custom-light: #6b779e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4476",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 118
  },
  "hsl": {
    "h": 219.474,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39236,
    "c": 0.09088,
    "h": 262.3
  },
  "luminance": 0.05934
}

Semantic roles & 50–950 ramp

primary
#2A4476
secondary
#A88B54
accent
#A951D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2A4476

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

Preview Lab → · Contrast checker → · Palette generator →

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