#2A74B7#2A74B7

#2A74B7 is a mid, vivid cyan. Relative luminance 0.164; OKLCH L 54.7% C 0.127 H 249.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2A74B7
RGBrgb(42, 116, 183)
HSLhsl(209, 63%, 44%)
HSVhsv(209, 77%, 72%)
CMYKcmyk(77%, 36.6%, 0%, 28.2%)
CIE-LABlab(47.50, 0.91, -41.81)
CIE-LCHlch(47.50, 41.82, 271.25°)
OKLaboklab(54.67% -0.0443 -0.1191)
OKLCHoklch(54.67% 0.127 249.6)
XYZxyz(15.7442, 16.4001, 47.1263)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A74B7 #B76D2A
analogous
#2AB7B4 #2A74B7 #2A2DB7
triadic
#2A74B7 #B72A74 #74B72A
tetradic
#2A74B7 #B42AB7 #B76D2A #2DB72A
square
#2A74B7 #B42AB7 #B76D2A #2DB72A
split-complementary
#2A74B7 #B72A2D #B7B42A
monochromatic
#133553 #1F5485 #2A74B7 #4993D5 #7BB0E1

Accessibility & contrast

On white

4.91
#2A74B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2A74B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A74B7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A74B7#FFFFFF#000000##FFFFFF
##2A74B71.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5578BA
Deuteranopia (green-blind)
#406BB6
Tritanopia (blue-blind)
#00848D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a74b7;
/* rgb */ color: rgb(42, 116, 183);
/* oklch */ color: oklch(54.7% 0.127 249.6);
Tailwind
colors: {
  custom: {
    50: '#789bcd',
    500: '#2a74b7',
    950: '#000000',
  },
}
SCSS
$custom: #2a74b7;
$custom-light: #789bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a74b7",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 183
  },
  "hsl": {
    "h": 208.511,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54668,
    "c": 0.12707,
    "h": 249.6
  },
  "luminance": 0.16402
}

Semantic roles & 50–950 ramp

primary
#2A74B7
secondary
#C99C74
accent
#9042E6
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A74B7

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

Preview Lab → · Contrast checker → · Palette generator →

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