#2A4473#2A4473

#2A4473 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.0% C 0.086 H 261.4°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2A4473
RGBrgb(42, 68, 115)
HSLhsl(219, 46%, 31%)
HSVhsv(219, 63%, 45%)
CMYKcmyk(63.5%, 40.9%, 0%, 54.9%)
CIE-LABlab(29.07, 6.10, -30.05)
CIE-LCHlch(29.07, 30.66, 281.48°)
OKLaboklab(39.04% -0.0129 -0.0853)
OKLCHoklch(39.04% 0.086 261.4)
XYZxyz(6.1154, 5.8638, 17.0259)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4473 #73592A
analogous
#2A6873 #2A4473 #342A73
triadic
#2A4473 #732A44 #44732A
tetradic
#2A4473 #732A68 #73592A #2A7334
square
#2A4473 #732A68 #73592A #2A7334
split-complementary
#2A4473 #73342A #68732A
monochromatic
#090F19 #1A2946 #2A4473 #3A5FA0 #567CC1

Accessibility & contrast

On white

9.66
#2A4473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4473
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4473#FFFFFF#000000##FFFFFF
##2A44731.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304875
Deuteranopia (green-blind)
#264172
Tritanopia (blue-blind)
#004F56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a4473;
/* rgb */ color: rgb(42, 68, 115);
/* oklch */ color: oklch(39.0% 0.086 261.4);
Tailwind
colors: {
  custom: {
    50: '#6b779b',
    500: '#2a4473',
    950: '#000000',
  },
}
SCSS
$custom: #2a4473;
$custom-light: #6b779b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4473",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 115
  },
  "hsl": {
    "h": 218.63,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39039,
    "c": 0.08632,
    "h": 261.4
  },
  "luminance": 0.05864
}

Semantic roles & 50–950 ramp

primary
#2A4473
secondary
#A58854
accent
#A752D6
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2A4473

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

Preview Lab → · Contrast checker → · Palette generator →

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