#2A74B2#2A74B2

#2A74B2 is a mid, vivid cyan. Relative luminance 0.162; OKLCH L 54.4% C 0.121 H 247.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2A74B2
RGBrgb(42, 116, 178)
HSLhsl(207, 62%, 43%)
HSVhsv(207, 76%, 70%)
CMYKcmyk(76.4%, 34.8%, 0%, 30.2%)
CIE-LABlab(47.23, -0.95, -39.33)
CIE-LCHlch(47.23, 39.34, 268.62°)
OKLaboklab(54.37% -0.0457 -0.1118)
OKLCHoklch(54.37% 0.121 247.8)
XYZxyz(15.2330, 16.1956, 44.4341)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A74B2 #B2682A
analogous
#2AB2AC #2A74B2 #2A30B2
triadic
#2A74B2 #B22A74 #74B22A
tetradic
#2A74B2 #AC2AB2 #B2682A #30B22A
square
#2A74B2 #AC2AB2 #B2682A #30B22A
split-complementary
#2A74B2 #B22A30 #B2AC2A
monochromatic
#13334F #1E5480 #2A74B2 #4693D3 #77B0DF

Accessibility & contrast

On white

4.95
#2A74B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#2A74B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A74B2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A74B2#FFFFFF#000000##FFFFFF
##2A74B21.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5777B5
Deuteranopia (green-blind)
#446AB1
Tritanopia (blue-blind)
#00838A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a74b2;
/* rgb */ color: rgb(42, 116, 178);
/* oklch */ color: oklch(54.4% 0.121 247.8);
Tailwind
colors: {
  custom: {
    50: '#779bc9',
    500: '#2a74b2',
    950: '#000000',
  },
}
SCSS
$custom: #2a74b2;
$custom-light: #779bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a74b2",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 178
  },
  "hsl": {
    "h": 207.353,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54373,
    "c": 0.12081,
    "h": 247.8
  },
  "luminance": 0.16197
}

Semantic roles & 50–950 ramp

primary
#2A74B2
secondary
#C79871
accent
#8D43E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A74B2

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

Preview Lab → · Contrast checker → · Palette generator →

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