#2A5276#2A5276

#2A5276 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.7% C 0.075 H 247.7°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#2A5276
RGBrgb(42, 82, 118)
HSLhsl(208, 48%, 31%)
HSVhsv(208, 64%, 46%)
CMYKcmyk(64.4%, 30.5%, 0%, 53.7%)
CIE-LABlab(33.63, -1.98, -24.73)
CIE-LCHlch(33.63, 24.81, 265.41°)
OKLaboklab(42.66% -0.0286 -0.0697)
OKLCHoklch(42.66% 0.075 247.7)
XYZxyz(7.2409, 7.8341, 18.2666)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5276 #764E2A
analogous
#2A7674 #2A5276 #2A2C76
triadic
#2A5276 #762A52 #52762A
tetradic
#2A5276 #742A76 #764E2A #2C762A
square
#2A5276 #742A76 #764E2A #2C762A
split-complementary
#2A5276 #762A2C #76742A
monochromatic
#0A131C #1A3349 #2A5276 #3A71A3 #5790C3

Accessibility & contrast

On white

8.18
#2A5276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2A5276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5276
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5276#FFFFFF#000000##FFFFFF
##2A52761.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425378
Deuteranopia (green-blind)
#384C75
Tritanopia (blue-blind)
#005B5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a5276;
/* rgb */ color: rgb(42, 82, 118);
/* oklch */ color: oklch(42.7% 0.075 247.7);
Tailwind
colors: {
  custom: {
    50: '#6b829d',
    500: '#2a5276',
    950: '#000000',
  },
}
SCSS
$custom: #2a5276;
$custom-light: #6b829d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5276",
  "rgb": {
    "r": 42,
    "g": 82,
    "b": 118
  },
  "hsl": {
    "h": 208.421,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42662,
    "c": 0.07533,
    "h": 247.7
  },
  "luminance": 0.07835
}

Semantic roles & 50–950 ramp

primary
#2A5276
secondary
#A87C54
accent
#9051D7
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2A5276

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

Preview Lab → · Contrast checker → · Palette generator →

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