#2A4577#2A4577

#2A4577 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.5% C 0.091 H 261.7°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#2A4577
RGBrgb(42, 69, 119)
HSLhsl(219, 48%, 32%)
HSVhsv(219, 65%, 47%)
CMYKcmyk(64.7%, 42%, 0%, 53.3%)
CIE-LABlab(29.61, 6.93, -31.70)
CIE-LCHlch(29.61, 32.45, 282.33°)
OKLaboklab(39.54% -0.0131 -0.0902)
OKLCHoklch(39.54% 0.091 261.7)
XYZxyz(6.4116, 6.0798, 18.2848)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4577 #775C2A
analogous
#2A6C77 #2A4577 #362A77
triadic
#2A4577 #772A45 #45772A
tetradic
#2A4577 #772A6C #775C2A #2A7736
square
#2A4577 #772A6C #775C2A #2A7736
split-complementary
#2A4577 #77362A #6C772A
monochromatic
#0A111D #1A2B4A #2A4577 #3A5FA4 #587EC4

Accessibility & contrast

On white

9.48
#2A4577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4577
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4577#FFFFFF#000000##FFFFFF
##2A45771.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4A79
Deuteranopia (green-blind)
#244276
Tritanopia (blue-blind)
#005058
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a4577;
/* rgb */ color: rgb(42, 69, 119);
/* oklch */ color: oklch(39.5% 0.091 261.7);
Tailwind
colors: {
  custom: {
    50: '#6b789e',
    500: '#2a4577',
    950: '#000000',
  },
}
SCSS
$custom: #2a4577;
$custom-light: #6b789e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4577",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 119
  },
  "hsl": {
    "h": 218.961,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3954,
    "c": 0.09112,
    "h": 261.7
  },
  "luminance": 0.0608
}

Semantic roles & 50–950 ramp

primary
#2A4577
secondary
#A98B54
accent
#A850D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2A4577

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

Preview Lab → · Contrast checker → · Palette generator →

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