#2A447C#2A447C

#2A447C is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.6% C 0.100 H 263.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#2A447C
RGBrgb(42, 68, 124)
HSLhsl(221, 49%, 33%)
HSVhsv(221, 66%, 49%)
CMYKcmyk(66.1%, 45.2%, 0%, 51.4%)
CIE-LABlab(29.62, 9.50, -34.83)
CIE-LCHlch(29.62, 36.10, 285.26°)
OKLaboklab(39.64% -0.0109 -0.0994)
OKLCHoklch(39.64% 0.1 263.7)
XYZxyz(6.6588, 6.0811, 19.8877)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A447C #7C622A
analogous
#2A6D7C #2A447C #392A7C
triadic
#2A447C #7C2A44 #447C2A
tetradic
#2A447C #7C2A6D #7C622A #2A7C39
square
#2A447C #7C2A6D #7C622A #2A7C39
split-complementary
#2A447C #7C392A #6D7C2A
monochromatic
#0B1221 #1B2B4E #2A447C #395DAA #597CC7

Accessibility & contrast

On white

9.47
#2A447C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A447C
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A447C#FFFFFF#000000##FFFFFF
##2A447C1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4A7E
Deuteranopia (green-blind)
#1D427B
Tritanopia (blue-blind)
#00515A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a447c;
/* rgb */ color: rgb(42, 68, 124);
/* oklch */ color: oklch(39.6% 0.100 263.7);
Tailwind
colors: {
  custom: {
    50: '#6c77a2',
    500: '#2a447c',
    950: '#000000',
  },
}
SCSS
$custom: #2a447c;
$custom-light: #6c77a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a447c",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 124
  },
  "hsl": {
    "h": 220.976,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39642,
    "c": 0.09996,
    "h": 263.7
  },
  "luminance": 0.06082
}

Semantic roles & 50–950 ramp

primary
#2A447C
secondary
#AD9155
accent
#AD4FD9
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #2A447C

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

Preview Lab → · Contrast checker → · Palette generator →

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