#2A74B8#2A74B8

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

Color values

HEX#2A74B8
RGBrgb(42, 116, 184)
HSLhsl(209, 63%, 44%)
HSVhsv(209, 77%, 72%)
CMYKcmyk(77.2%, 37%, 0%, 27.8%)
CIE-LABlab(47.55, 1.29, -42.30)
CIE-LCHlch(47.55, 42.32, 271.74°)
OKLaboklab(54.73% -0.0441 -0.1205)
OKLCHoklch(54.73% 0.128 249.9)
XYZxyz(15.8487, 16.4419, 47.6764)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A74B8 #B86E2A
analogous
#2AB8B5 #2A74B8 #2A2DB8
triadic
#2A74B8 #B82A74 #74B82A
tetradic
#2A74B8 #B52AB8 #B86E2A #2DB82A
square
#2A74B8 #B52AB8 #B86E2A #2DB82A
split-complementary
#2A74B8 #B82A2D #B8B52A
monochromatic
#133554 #1F5586 #2A74B8 #4A93D6 #7BB0E1

Accessibility & contrast

On white

4.90
#2A74B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2A74B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A74B8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A74B8#FFFFFF#000000##FFFFFF
##2A74B81.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5478BB
Deuteranopia (green-blind)
#3F6BB7
Tritanopia (blue-blind)
#00848D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a74b8;
/* rgb */ color: rgb(42, 116, 184);
/* oklch */ color: oklch(54.7% 0.128 249.9);
Tailwind
colors: {
  custom: {
    50: '#789bcd',
    500: '#2a74b8',
    950: '#000000',
  },
}
SCSS
$custom: #2a74b8;
$custom-light: #789bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a74b8",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 184
  },
  "hsl": {
    "h": 208.732,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54728,
    "c": 0.12833,
    "h": 249.9
  },
  "luminance": 0.16444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A74B8

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

Preview Lab → · Contrast checker → · Palette generator →

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