#2A74C8#2A74C8

#2A74C8 is a mid, vivid cyan. Relative luminance 0.172; OKLCH L 55.7% C 0.149 H 254.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2A74C8
RGBrgb(42, 116, 200)
HSLhsl(212, 65%, 47%)
HSVhsv(212, 79%, 78%)
CMYKcmyk(79%, 42%, 0%, 21.6%)
CIE-LABlab(48.45, 7.31, -50.08)
CIE-LCHlch(48.45, 50.61, 278.30°)
OKLaboklab(55.72% -0.0402 -0.1433)
OKLCHoklch(55.72% 0.149 254.3)
XYZxyz(17.6217, 17.1510, 57.0141)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A74C8 #C87E2A
analogous
#2AC3C8 #2A74C8 #2F2AC8
triadic
#2A74C8 #C82A74 #74C82A
tetradic
#2A74C8 #C82AC3 #C87E2A #2AC82F
square
#2A74C8 #C82AC3 #C87E2A #2AC82F
split-complementary
#2A74C8 #C82F2A #C3C82A
monochromatic
#153963 #1F5795 #2A74C8 #5493DB #87B3E6

Accessibility & contrast

On white

4.74
#2A74C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2A74C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A74C8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A74C8#FFFFFF#000000##FFFFFF
##2A74C81.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A7BCB
Deuteranopia (green-blind)
#2E6CC6
Tritanopia (blue-blind)
#008894
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a74c8;
/* rgb */ color: rgb(42, 116, 200);
/* oklch */ color: oklch(55.7% 0.149 254.3);
Tailwind
colors: {
  custom: {
    50: '#7b9bd9',
    500: '#2a74c8',
    950: '#000000',
  },
}
SCSS
$custom: #2a74c8;
$custom-light: #7b9bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a74c8",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 200
  },
  "hsl": {
    "h": 211.899,
    "s": 65.289,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55724,
    "c": 0.14888,
    "h": 254.3
  },
  "luminance": 0.17153
}

Semantic roles & 50–950 ramp

primary
#2A74C8
secondary
#CFA97F
accent
#9940E8
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2A74C8

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

Preview Lab → · Contrast checker → · Palette generator →

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