#2A76A7#2A76A7

#2A76A7 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.2% C 0.106 H 241.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2A76A7
RGBrgb(42, 118, 167)
HSLhsl(204, 60%, 41%)
HSVhsv(204, 75%, 65%)
CMYKcmyk(74.9%, 29.3%, 0%, 34.5%)
CIE-LABlab(47.28, -6.19, -32.84)
CIE-LCHlch(47.28, 33.41, 259.32°)
OKLaboklab(54.24% -0.051 -0.0928)
OKLCHoklch(54.24% 0.106 241.2)
XYZxyz(14.4056, 16.2375, 38.9266)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A76A7 #A75B2A
analogous
#2AA799 #2A76A7 #2A37A7
triadic
#2A76A7 #A72A76 #76A72A
tetradic
#2A76A7 #992AA7 #A75B2A #37A72A
square
#2A76A7 #992AA7 #A75B2A #37A72A
split-complementary
#2A76A7 #A72A37 #A7992A
monochromatic
#113145 #1E5376 #2A76A7 #3F97CF #70B1DB

Accessibility & contrast

On white

4.94
#2A76A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2A76A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A76A7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A76A7#FFFFFF#000000##FFFFFF
##2A76A71.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F77A9
Deuteranopia (green-blind)
#4E6BA6
Tritanopia (blue-blind)
#008287
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a76a7;
/* rgb */ color: rgb(42, 118, 167);
/* oklch */ color: oklch(54.2% 0.106 241.2);
Tailwind
colors: {
  custom: {
    50: '#759dc1',
    500: '#2a76a7',
    950: '#000000',
  },
}
SCSS
$custom: #2a76a7;
$custom-light: #759dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a76a7",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 167
  },
  "hsl": {
    "h": 203.52,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54236,
    "c": 0.10593,
    "h": 241.2
  },
  "luminance": 0.16239
}

Semantic roles & 50–950 ramp

primary
#2A76A7
secondary
#C28D6B
accent
#8345E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A76A7

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

Preview Lab → · Contrast checker → · Palette generator →

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