#2A447D#2A447D

#2A447D is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.7% C 0.101 H 263.9°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2A447D
RGBrgb(42, 68, 125)
HSLhsl(221, 50%, 33%)
HSVhsv(221, 66%, 49%)
CMYKcmyk(66.4%, 45.6%, 0%, 51%)
CIE-LABlab(29.68, 9.88, -35.35)
CIE-LCHlch(29.68, 36.71, 285.61°)
OKLaboklab(39.71% -0.0107 -0.1009)
OKLCHoklch(39.71% 0.101 263.9)
XYZxyz(6.7223, 6.1065, 20.2225)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A447D #7D632A
analogous
#2A6D7D #2A447D #392A7D
triadic
#2A447D #7D2A44 #447D2A
tetradic
#2A447D #7D2A6D #7D632A #2A7D39
square
#2A447D #7D2A6D #7D632A #2A7D39
split-complementary
#2A447D #7D392A #6D7D2A
monochromatic
#0B1221 #1B2B4F #2A447D #395DAB #5A7CC8

Accessibility & contrast

On white

9.45
#2A447D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2A447D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A447D
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A447D#FFFFFF#000000##FFFFFF
##2A447D1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294A7F
Deuteranopia (green-blind)
#1C427C
Tritanopia (blue-blind)
#00515A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a447d;
/* rgb */ color: rgb(42, 68, 125);
/* oklch */ color: oklch(39.7% 0.101 263.9);
Tailwind
colors: {
  custom: {
    50: '#6d77a3',
    500: '#2a447d',
    950: '#000000',
  },
}
SCSS
$custom: #2a447d;
$custom-light: #6d77a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a447d",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 125
  },
  "hsl": {
    "h": 221.205,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39712,
    "c": 0.10147,
    "h": 263.9
  },
  "luminance": 0.06107
}

Semantic roles & 50–950 ramp

primary
#2A447D
secondary
#AD9256
accent
#AE4FD9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #2A447D

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

Preview Lab → · Contrast checker → · Palette generator →

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