#2A4573#2A4573

#2A4573 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.3% C 0.085 H 260.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2A4573
RGBrgb(42, 69, 115)
HSLhsl(218, 46%, 31%)
HSVhsv(218, 63%, 45%)
CMYKcmyk(63.5%, 40%, 0%, 54.9%)
CIE-LABlab(29.38, 5.43, -29.56)
CIE-LCHlch(29.38, 30.05, 280.41°)
OKLaboklab(39.28% -0.0141 -0.0839)
OKLCHoklch(39.28% 0.085 260.5)
XYZxyz(6.1764, 5.9857, 17.0462)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4573 #73582A
analogous
#2A6973 #2A4573 #332A73
triadic
#2A4573 #732A45 #45732A
tetradic
#2A4573 #732A69 #73582A #2A7333
square
#2A4573 #732A69 #73582A #2A7333
split-complementary
#2A4573 #73332A #69732A
monochromatic
#090F19 #1A2A46 #2A4573 #3A60A0 #567EC1

Accessibility & contrast

On white

9.56
#2A4573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2A4573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4573
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4573#FFFFFF#000000##FFFFFF
##2A45731.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314975
Deuteranopia (green-blind)
#274272
Tritanopia (blue-blind)
#004F56
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a4573;
/* rgb */ color: rgb(42, 69, 115);
/* oklch */ color: oklch(39.3% 0.085 260.5);
Tailwind
colors: {
  custom: {
    50: '#6b789b',
    500: '#2a4573',
    950: '#000000',
  },
}
SCSS
$custom: #2a4573;
$custom-light: #6b789b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4573",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 115
  },
  "hsl": {
    "h": 217.808,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39279,
    "c": 0.08508,
    "h": 260.5
  },
  "luminance": 0.05986
}

Semantic roles & 50–950 ramp

primary
#2A4573
secondary
#A58754
accent
#A552D6
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2A4573

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

Preview Lab → · Contrast checker → · Palette generator →

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