#2A447E#2A447E

#2A447E is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.8% C 0.103 H 264.1°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#2A447E
RGBrgb(42, 68, 126)
HSLhsl(221, 50%, 33%)
HSVhsv(221, 67%, 49%)
CMYKcmyk(66.7%, 46%, 0%, 50.6%)
CIE-LABlab(29.74, 10.26, -35.87)
CIE-LCHlch(29.74, 37.31, 285.96°)
OKLaboklab(39.78% -0.0106 -0.1024)
OKLCHoklch(39.78% 0.103 264.1)
XYZxyz(6.7866, 6.1322, 20.5606)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A447E #7E642A
analogous
#2A6E7E #2A447E #3A2A7E
triadic
#2A447E #7E2A44 #447E2A
tetradic
#2A447E #7E2A6E #7E642A #2A7E3A
square
#2A447E #7E2A6E #7E642A #2A7E3A
split-complementary
#2A447E #7E3A2A #6E7E2A
monochromatic
#0B1222 #1B2B50 #2A447E #395DAC #5A7CC8

Accessibility & contrast

On white

9.43
#2A447E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2A447E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A447E
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A447E#FFFFFF#000000##FFFFFF
##2A447E1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A80
Deuteranopia (green-blind)
#1B427D
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a447e;
/* rgb */ color: rgb(42, 68, 126);
/* oklch */ color: oklch(39.8% 0.103 264.1);
Tailwind
colors: {
  custom: {
    50: '#6d77a4',
    500: '#2a447e',
    950: '#000000',
  },
}
SCSS
$custom: #2a447e;
$custom-light: #6d77a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a447e",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 126
  },
  "hsl": {
    "h": 221.429,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39781,
    "c": 0.10298,
    "h": 264.1
  },
  "luminance": 0.06133
}

Semantic roles & 50–950 ramp

primary
#2A447E
secondary
#AE9356
accent
#AE4EDA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2A447E

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

Preview Lab → · Contrast checker → · Palette generator →

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