#2A4477#2A4477

#2A4477 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.3% C 0.092 H 262.5°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#2A4477
RGBrgb(42, 68, 119)
HSLhsl(220, 48%, 32%)
HSVhsv(220, 65%, 47%)
CMYKcmyk(64.7%, 42.9%, 0%, 53.3%)
CIE-LABlab(29.31, 7.61, -32.19)
CIE-LCHlch(29.31, 33.07, 283.30°)
OKLaboklab(39.3% -0.012 -0.0916)
OKLCHoklch(39.3% 0.092 262.5)
XYZxyz(6.3506, 5.9578, 18.2645)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4477 #775D2A
analogous
#2A6B77 #2A4477 #372A77
triadic
#2A4477 #772A44 #44772A
tetradic
#2A4477 #772A6B #775D2A #2A7737
square
#2A4477 #772A6B #775D2A #2A7737
split-complementary
#2A4477 #77372A #6B772A
monochromatic
#0A101D #1A2A4A #2A4477 #3A5EA4 #587CC4

Accessibility & contrast

On white

9.58
#2A4477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2A4477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4477
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4477#FFFFFF#000000##FFFFFF
##2A44771.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4979
Deuteranopia (green-blind)
#224276
Tritanopia (blue-blind)
#005057
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a4477;
/* rgb */ color: rgb(42, 68, 119);
/* oklch */ color: oklch(39.3% 0.092 262.5);
Tailwind
colors: {
  custom: {
    50: '#6c779e',
    500: '#2a4477',
    950: '#000000',
  },
}
SCSS
$custom: #2a4477;
$custom-light: #6c779e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4477",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 119
  },
  "hsl": {
    "h": 219.74,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39302,
    "c": 0.0924,
    "h": 262.5
  },
  "luminance": 0.05958
}

Semantic roles & 50–950 ramp

primary
#2A4477
secondary
#A98C54
accent
#AA50D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2A4477

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

Preview Lab → · Contrast checker → · Palette generator →

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