#2A4472#2A4472

#2A4472 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.085 H 261.1°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2A4472
RGBrgb(42, 68, 114)
HSLhsl(218, 46%, 31%)
HSVhsv(218, 63%, 45%)
CMYKcmyk(63.2%, 40.4%, 0%, 55.3%)
CIE-LABlab(29.01, 5.73, -29.51)
CIE-LCHlch(29.01, 30.06, 280.99°)
OKLaboklab(38.97% -0.0132 -0.0838)
OKLCHoklch(38.97% 0.085 261.1)
XYZxyz(6.0582, 5.8409, 16.7245)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4472 #72582A
analogous
#2A6872 #2A4472 #342A72
triadic
#2A4472 #722A44 #44722A
tetradic
#2A4472 #722A68 #72582A #2A7234
square
#2A4472 #722A68 #72582A #2A7234
split-complementary
#2A4472 #72342A #68722A
monochromatic
#090F19 #1A2945 #2A4472 #3A5F9F #567CC1

Accessibility & contrast

On white

9.69
#2A4472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2A4472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4472
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4472#FFFFFF#000000##FFFFFF
##2A44721.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304874
Deuteranopia (green-blind)
#274171
Tritanopia (blue-blind)
#004E55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a4472;
/* rgb */ color: rgb(42, 68, 114);
/* oklch */ color: oklch(39.0% 0.085 261.1);
Tailwind
colors: {
  custom: {
    50: '#6b779b',
    500: '#2a4472',
    950: '#000000',
  },
}
SCSS
$custom: #2a4472;
$custom-light: #6b779b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4472",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 114
  },
  "hsl": {
    "h": 218.333,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38974,
    "c": 0.0848,
    "h": 261.1
  },
  "luminance": 0.05841
}

Semantic roles & 50–950 ramp

primary
#2A4472
secondary
#A48754
accent
#A652D6
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2A4472

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

Preview Lab → · Contrast checker → · Palette generator →

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