#2A507A#2A507A

#2A507A is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.4% C 0.083 H 252.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2A507A
RGBrgb(42, 80, 122)
HSLhsl(212, 49%, 32%)
HSVhsv(212, 66%, 48%)
CMYKcmyk(65.6%, 34.4%, 0%, 52.2%)
CIE-LABlab(33.21, 0.77, -27.88)
CIE-LCHlch(33.21, 27.89, 271.58°)
OKLaboklab(42.4% -0.025 -0.0789)
OKLCHoklch(42.4% 0.083 252.4)
XYZxyz(7.3351, 7.6340, 19.4955)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A507A #7A542A
analogous
#2A787A #2A507A #2C2A7A
triadic
#2A507A #7A2A50 #507A2A
tetradic
#2A507A #7A2A78 #7A542A #2A7A2C
square
#2A507A #7A2A78 #7A542A #2A7A2C
split-complementary
#2A507A #7A2C2A #787A2A
monochromatic
#0B141F #1A324C #2A507A #3A6EA8 #598CC6

Accessibility & contrast

On white

8.31
#2A507A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2A507A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A507A
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A507A#FFFFFF#000000##FFFFFF
##2A507A1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E527C
Deuteranopia (green-blind)
#334B79
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a507a;
/* rgb */ color: rgb(42, 80, 122);
/* oklch */ color: oklch(42.4% 0.083 252.4);
Tailwind
colors: {
  custom: {
    50: '#6c80a0',
    500: '#2a507a',
    950: '#000000',
  },
}
SCSS
$custom: #2a507a;
$custom-light: #6c80a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a507a",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 211.5,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42395,
    "c": 0.08275,
    "h": 252.4
  },
  "luminance": 0.07635
}

Semantic roles & 50–950 ramp

primary
#2A507A
secondary
#AB8255
accent
#974FD8
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #2A507A

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

Preview Lab → · Contrast checker → · Palette generator →

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