#2A4B77#2A4B77

#2A4B77 is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 41.0% C 0.084 H 256.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#2A4B77
RGBrgb(42, 75, 119)
HSLhsl(214, 48%, 32%)
HSVhsv(214, 65%, 47%)
CMYKcmyk(64.7%, 37%, 0%, 53.3%)
CIE-LABlab(31.48, 2.92, -28.75)
CIE-LCHlch(31.48, 28.89, 275.81°)
OKLaboklab(40.99% -0.0201 -0.0814)
OKLCHoklch(40.99% 0.084 256.2)
XYZxyz(6.7995, 6.8557, 18.4141)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4B77 #77562A
analogous
#2A7277 #2A4B77 #302A77
triadic
#2A4B77 #772A4B #4B772A
tetradic
#2A4B77 #772A72 #77562A #2A7730
square
#2A4B77 #772A72 #77562A #2A7730
split-complementary
#2A4B77 #77302A #72772A
monochromatic
#0A121D #1A2E4A #2A4B77 #3A68A4 #5886C4

Accessibility & contrast

On white

8.86
#2A4B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2A4B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4B77
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4B77#FFFFFF#000000##FFFFFF
##2A4B771.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E79
Deuteranopia (green-blind)
#2E4776
Tritanopia (blue-blind)
#00555B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a4b77;
/* rgb */ color: rgb(42, 75, 119);
/* oklch */ color: oklch(41.0% 0.084 256.2);
Tailwind
colors: {
  custom: {
    50: '#6b7d9e',
    500: '#2a4b77',
    950: '#000000',
  },
}
SCSS
$custom: #2a4b77;
$custom-light: #6b7d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4b77",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 119
  },
  "hsl": {
    "h": 214.286,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40987,
    "c": 0.08389,
    "h": 256.2
  },
  "luminance": 0.06856
}

Semantic roles & 50–950 ramp

primary
#2A4B77
secondary
#A98454
accent
#9E50D7
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2A4B77

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

Preview Lab → · Contrast checker → · Palette generator →

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