#2A76A8#2A76A8

#2A76A8 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.3% C 0.107 H 241.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2A76A8
RGBrgb(42, 118, 168)
HSLhsl(204, 60%, 41%)
HSVhsv(204, 75%, 66%)
CMYKcmyk(75%, 29.8%, 0%, 34.1%)
CIE-LABlab(47.33, -5.83, -33.34)
CIE-LCHlch(47.33, 33.85, 260.08°)
OKLaboklab(54.29% -0.0507 -0.0943)
OKLCHoklch(54.29% 0.107 241.8)
XYZxyz(14.4984, 16.2746, 39.4154)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A76A8 #A85C2A
analogous
#2AA89B #2A76A8 #2A37A8
triadic
#2A76A8 #A82A76 #76A82A
tetradic
#2A76A8 #9B2AA8 #A85C2A #37A82A
square
#2A76A8 #9B2AA8 #A85C2A #37A82A
split-complementary
#2A76A8 #A82A37 #A89B2A
monochromatic
#123146 #1E5477 #2A76A8 #4096CF #71B1DB

Accessibility & contrast

On white

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

On black

4.26
#2A76A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A76A8#FFFFFF#000000##FFFFFF
##2A76A81.004.944.264.94
#FFFFFF4.941.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F77AA
Deuteranopia (green-blind)
#4D6BA7
Tritanopia (blue-blind)
#008288
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a76a8;
/* rgb */ color: rgb(42, 118, 168);
/* oklch */ color: oklch(54.3% 0.107 241.8);
Tailwind
colors: {
  custom: {
    50: '#759dc2',
    500: '#2a76a8',
    950: '#000000',
  },
}
SCSS
$custom: #2a76a8;
$custom-light: #759dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a76a8",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 168
  },
  "hsl": {
    "h": 203.81,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5429,
    "c": 0.10707,
    "h": 241.8
  },
  "luminance": 0.16276
}

Semantic roles & 50–950 ramp

primary
#2A76A8
secondary
#C38E6B
accent
#8445E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2A76A8

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

Preview Lab → · Contrast checker → · Palette generator →

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