#2A74AB#2A74AB

#2A74AB is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 54.0% C 0.112 H 244.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2A74AB
RGBrgb(42, 116, 171)
HSLhsl(206, 61%, 42%)
HSVhsv(206, 75%, 67%)
CMYKcmyk(75.4%, 32.2%, 0%, 32.9%)
CIE-LABlab(46.87, -3.54, -35.82)
CIE-LCHlch(46.87, 35.99, 264.36°)
OKLaboklab(53.97% -0.0478 -0.1016)
OKLCHoklch(53.97% 0.112 244.8)
XYZxyz(14.5481, 15.9216, 40.8266)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A74AB #AB612A
analogous
#2AABA1 #2A74AB #2A34AB
triadic
#2A74AB #AB2A74 #74AB2A
tetradic
#2A74AB #A12AAB #AB612A #34AB2A
square
#2A74AB #A12AAB #AB612A #34AB2A
split-complementary
#2A74AB #AB2A34 #ABA12A
monochromatic
#123149 #1E537A #2A74AB #4294D1 #73AFDD

Accessibility & contrast

On white

5.02
#2A74AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2A74AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A74AB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A74AB#FFFFFF#000000##FFFFFF
##2A74AB1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B76AD
Deuteranopia (green-blind)
#496AAA
Tritanopia (blue-blind)
#008188
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a74ab;
/* rgb */ color: rgb(42, 116, 171);
/* oklch */ color: oklch(54.0% 0.112 244.8);
Tailwind
colors: {
  custom: {
    50: '#769bc4',
    500: '#2a74ab',
    950: '#000000',
  },
}
SCSS
$custom: #2a74ab;
$custom-light: #769bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a74ab",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 171
  },
  "hsl": {
    "h": 205.581,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53974,
    "c": 0.11224,
    "h": 244.8
  },
  "luminance": 0.15923
}

Semantic roles & 50–950 ramp

primary
#2A74AB
secondary
#C4926D
accent
#8844E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2A74AB

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

Preview Lab → · Contrast checker → · Palette generator →

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