#2A5076#2A5076

#2A5076 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.2% C 0.077 H 250.1°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#2A5076
RGBrgb(42, 80, 118)
HSLhsl(210, 48%, 31%)
HSVhsv(210, 64%, 46%)
CMYKcmyk(64.4%, 32.2%, 0%, 53.7%)
CIE-LABlab(33.00, -0.70, -25.72)
CIE-LCHlch(33.00, 25.73, 268.43°)
OKLaboklab(42.16% -0.0262 -0.0726)
OKLCHoklch(42.16% 0.077 250.1)
XYZxyz(7.0923, 7.5369, 18.2170)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5076 #76502A
analogous
#2A7676 #2A5076 #2A2A76
triadic
#2A5076 #762A50 #50762A
tetradic
#2A5076 #762A76 #76502A #2A762A
square
#2A5076 #762A76 #76502A #2A762A
split-complementary
#2A5076 #762A2A #76762A
monochromatic
#0A131C #1A3149 #2A5076 #3A6FA3 #578DC3

Accessibility & contrast

On white

8.37
#2A5076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2A5076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5076
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5076#FFFFFF#000000##FFFFFF
##2A50761.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405278
Deuteranopia (green-blind)
#364A75
Tritanopia (blue-blind)
#00595D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a5076;
/* rgb */ color: rgb(42, 80, 118);
/* oklch */ color: oklch(42.2% 0.077 250.1);
Tailwind
colors: {
  custom: {
    50: '#6b809d',
    500: '#2a5076',
    950: '#000000',
  },
}
SCSS
$custom: #2a5076;
$custom-light: #6b809d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5076",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 118
  },
  "hsl": {
    "h": 210,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42162,
    "c": 0.0772,
    "h": 250.1
  },
  "luminance": 0.07538
}

Semantic roles & 50–950 ramp

primary
#2A5076
secondary
#A87E54
accent
#9451D7
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2A5076

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

Preview Lab → · Contrast checker → · Palette generator →

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