#2A4677#2A4677

#2A4677 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.8% C 0.090 H 260.9°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#2A4677
RGBrgb(42, 70, 119)
HSLhsl(218, 48%, 32%)
HSVhsv(218, 65%, 47%)
CMYKcmyk(64.7%, 41.2%, 0%, 53.3%)
CIE-LABlab(29.92, 6.26, -31.21)
CIE-LCHlch(29.92, 31.83, 281.34°)
OKLaboklab(39.78% -0.0143 -0.0887)
OKLCHoklch(39.78% 0.09 260.9)
XYZxyz(6.4736, 6.2039, 18.3055)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4677 #775B2A
analogous
#2A6D77 #2A4677 #352A77
triadic
#2A4677 #772A46 #46772A
tetradic
#2A4677 #772A6D #775B2A #2A7735
square
#2A4677 #772A6D #775B2A #2A7735
split-complementary
#2A4677 #77352A #6D772A
monochromatic
#0A111D #1A2B4A #2A4677 #3A61A4 #587FC4

Accessibility & contrast

On white

9.37
#2A4677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2A4677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4677
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4677#FFFFFF#000000##FFFFFF
##2A46771.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314A79
Deuteranopia (green-blind)
#264376
Tritanopia (blue-blind)
#005158
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a4677;
/* rgb */ color: rgb(42, 70, 119);
/* oklch */ color: oklch(39.8% 0.090 260.9);
Tailwind
colors: {
  custom: {
    50: '#6b799e',
    500: '#2a4677',
    950: '#000000',
  },
}
SCSS
$custom: #2a4677;
$custom-light: #6b799e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4677",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 119
  },
  "hsl": {
    "h": 218.182,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39778,
    "c": 0.08986,
    "h": 260.9
  },
  "luminance": 0.06204
}

Semantic roles & 50–950 ramp

primary
#2A4677
secondary
#A98A54
accent
#A650D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2A4677

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

Preview Lab → · Contrast checker → · Palette generator →

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