#2A76CA#2A76CA

#2A76CA is a mid, vivid cyan. Relative luminance 0.177; OKLCH L 56.3% C 0.149 H 253.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2A76CA
RGBrgb(42, 118, 202)
HSLhsl(212, 66%, 48%)
HSVhsv(212, 79%, 79%)
CMYKcmyk(79.2%, 41.6%, 0%, 20.8%)
CIE-LABlab(49.14, 6.82, -50.12)
CIE-LCHlch(49.14, 50.58, 277.75°)
OKLaboklab(56.3% -0.0415 -0.1434)
OKLCHoklch(56.3% 0.149 253.9)
XYZxyz(18.0900, 17.7112, 58.3308)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A76CA #CA7E2A
analogous
#2AC6CA #2A76CA #2E2ACA
triadic
#2A76CA #CA2A76 #76CA2A
tetradic
#2A76CA #CA2AC6 #CA7E2A #2ACA2E
square
#2A76CA #CA2AC6 #CA7E2A #2ACA2E
split-complementary
#2A76CA #CA2E2A #C6CA2A
monochromatic
#153B65 #1F5897 #2A76CA #5595DC #88B5E6

Accessibility & contrast

On white

4.62
#2A76CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2A76CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A76CA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A76CA#FFFFFF#000000##FFFFFF
##2A76CA1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCD
Deuteranopia (green-blind)
#306EC8
Tritanopia (blue-blind)
#008A96
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a76ca;
/* rgb */ color: rgb(42, 118, 202);
/* oklch */ color: oklch(56.3% 0.149 253.9);
Tailwind
colors: {
  custom: {
    50: '#7c9cda',
    500: '#2a76ca',
    950: '#000000',
  },
}
SCSS
$custom: #2a76ca;
$custom-light: #7c9cda;
$custom-dark: #000000;
JSON
{
  "hex": "#2a76ca",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 202
  },
  "hsl": {
    "h": 211.5,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56302,
    "c": 0.14929,
    "h": 253.9
  },
  "luminance": 0.17713
}

Semantic roles & 50–950 ramp

primary
#2A76CA
secondary
#D0AA80
accent
#983FE9
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2A76CA

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

Preview Lab → · Contrast checker → · Palette generator →

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