#2A74B4#2A74B4

#2A74B4 is a mid, vivid cyan. Relative luminance 0.163; OKLCH L 54.5% C 0.123 H 248.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2A74B4
RGBrgb(42, 116, 180)
HSLhsl(208, 62%, 44%)
HSVhsv(208, 77%, 71%)
CMYKcmyk(76.7%, 35.6%, 0%, 29.4%)
CIE-LABlab(47.34, -0.21, -40.33)
CIE-LCHlch(47.34, 40.33, 269.71°)
OKLaboklab(54.49% -0.0452 -0.1147)
OKLCHoklch(54.49% 0.123 248.5)
XYZxyz(15.4353, 16.2765, 45.4993)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A74B4 #B46A2A
analogous
#2AB4AF #2A74B4 #2A2FB4
triadic
#2A74B4 #B42A74 #74B42A
tetradic
#2A74B4 #AF2AB4 #B46A2A #2FB42A
square
#2A74B4 #AF2AB4 #B46A2A #2FB42A
split-complementary
#2A74B4 #B42A2F #B4AF2A
monochromatic
#133451 #1E5482 #2A74B4 #4793D4 #79B0E0

Accessibility & contrast

On white

4.93
#2A74B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A74B4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A74B4#FFFFFF#000000##FFFFFF
##2A74B41.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5677B7
Deuteranopia (green-blind)
#426BB3
Tritanopia (blue-blind)
#00838B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a74b4;
/* rgb */ color: rgb(42, 116, 180);
/* oklch */ color: oklch(54.5% 0.123 248.5);
Tailwind
colors: {
  custom: {
    50: '#779bcb',
    500: '#2a74b4',
    950: '#000000',
  },
}
SCSS
$custom: #2a74b4;
$custom-light: #779bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a74b4",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 180
  },
  "hsl": {
    "h": 207.826,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5449,
    "c": 0.1233,
    "h": 248.5
  },
  "luminance": 0.16278
}

Semantic roles & 50–950 ramp

primary
#2A74B4
secondary
#C89A72
accent
#8E43E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A74B4

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

Preview Lab → · Contrast checker → · Palette generator →

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