#2A76C8#2A76C8

#2A76C8 is a mid, vivid cyan. Relative luminance 0.176; OKLCH L 56.2% C 0.147 H 253.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2A76C8
RGBrgb(42, 118, 200)
HSLhsl(211, 65%, 47%)
HSVhsv(211, 79%, 78%)
CMYKcmyk(79%, 41%, 0%, 21.6%)
CIE-LABlab(49.03, 6.06, -49.16)
CIE-LCHlch(49.03, 49.53, 277.03°)
OKLaboklab(56.17% -0.0419 -0.1406)
OKLCHoklch(56.17% 0.147 253.4)
XYZxyz(17.8547, 17.6171, 57.0918)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A76C8 #C87C2A
analogous
#2AC5C8 #2A76C8 #2D2AC8
triadic
#2A76C8 #C82A76 #76C82A
tetradic
#2A76C8 #C82AC5 #C87C2A #2AC82D
square
#2A76C8 #C82AC5 #C87C2A #2AC82D
split-complementary
#2A76C8 #C82D2A #C5C82A
monochromatic
#153A63 #1F5895 #2A76C8 #5495DB #87B4E6

Accessibility & contrast

On white

4.64
#2A76C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#2A76C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A76C8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A76C8#FFFFFF#000000##FFFFFF
##2A76C81.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E7CCB
Deuteranopia (green-blind)
#336EC6
Tritanopia (blue-blind)
#008995
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a76c8;
/* rgb */ color: rgb(42, 118, 200);
/* oklch */ color: oklch(56.2% 0.147 253.4);
Tailwind
colors: {
  custom: {
    50: '#7b9cd9',
    500: '#2a76c8',
    950: '#000000',
  },
}
SCSS
$custom: #2a76c8;
$custom-light: #7b9cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a76c8",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 200
  },
  "hsl": {
    "h": 211.139,
    "s": 65.289,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56174,
    "c": 0.14671,
    "h": 253.4
  },
  "luminance": 0.17619
}

Semantic roles & 50–950 ramp

primary
#2A76C8
secondary
#CFA87F
accent
#9740E8
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2A76C8

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

Preview Lab → · Contrast checker → · Palette generator →

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