#2A437A#2A437A

#2A437A is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.3% C 0.098 H 264.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#2A437A
RGBrgb(42, 67, 122)
HSLhsl(221, 49%, 32%)
HSVhsv(221, 66%, 48%)
CMYKcmyk(65.6%, 45.1%, 0%, 52.2%)
CIE-LABlab(29.19, 9.42, -34.26)
CIE-LCHlch(29.19, 35.53, 285.37°)
OKLaboklab(39.27% -0.0102 -0.0977)
OKLCHoklch(39.27% 0.098 264)
XYZxyz(6.4736, 5.9111, 19.2084)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A437A #7A612A
analogous
#2A6B7A #2A437A #392A7A
triadic
#2A437A #7A2A43 #437A2A
tetradic
#2A437A #7A2A6B #7A612A #2A7A39
square
#2A437A #7A2A6B #7A612A #2A7A39
split-complementary
#2A437A #7A392A #6B7A2A
monochromatic
#0B111F #1A2A4C #2A437A #3A5CA8 #597BC6

Accessibility & contrast

On white

9.62
#2A437A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2A437A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A437A
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A437A#FFFFFF#000000##FFFFFF
##2A437A1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A497C
Deuteranopia (green-blind)
#1D4179
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a437a;
/* rgb */ color: rgb(42, 67, 122);
/* oklch */ color: oklch(39.3% 0.098 264.0);
Tailwind
colors: {
  custom: {
    50: '#6c76a1',
    500: '#2a437a',
    950: '#000000',
  },
}
SCSS
$custom: #2a437a;
$custom-light: #6c76a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a437a",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 122
  },
  "hsl": {
    "h": 221.25,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39271,
    "c": 0.09825,
    "h": 264
  },
  "luminance": 0.05912
}

Semantic roles & 50–950 ramp

primary
#2A437A
secondary
#AB9055
accent
#AE4FD8
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #2A437A

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

Preview Lab → · Contrast checker → · Palette generator →

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