#2A74A7#2A74A7

#2A74A7 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.8% C 0.107 H 242.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2A74A7
RGBrgb(42, 116, 167)
HSLhsl(204, 60%, 41%)
HSVhsv(204, 75%, 65%)
CMYKcmyk(74.9%, 30.5%, 0%, 34.5%)
CIE-LABlab(46.67, -5.00, -33.80)
CIE-LCHlch(46.67, 34.16, 261.58°)
OKLaboklab(53.75% -0.049 -0.0957)
OKLCHoklch(53.75% 0.108 242.9)
XYZxyz(14.1726, 15.7714, 38.8490)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A74A7 #A75D2A
analogous
#2AA79B #2A74A7 #2A35A7
triadic
#2A74A7 #A72A74 #74A72A
tetradic
#2A74A7 #9B2AA7 #A75D2A #35A72A
square
#2A74A7 #9B2AA7 #A75D2A #35A72A
split-complementary
#2A74A7 #A72A35 #A79B2A
monochromatic
#113045 #1E5276 #2A74A7 #3F94CF #70B0DB

Accessibility & contrast

On white

5.05
#2A74A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2A74A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A74A7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A74A7#FFFFFF#000000##FFFFFF
##2A74A71.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C75A9
Deuteranopia (green-blind)
#4B69A6
Tritanopia (blue-blind)
#008186
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a74a7;
/* rgb */ color: rgb(42, 116, 167);
/* oklch */ color: oklch(53.8% 0.107 242.9);
Tailwind
colors: {
  custom: {
    50: '#759bc1',
    500: '#2a74a7',
    950: '#000000',
  },
}
SCSS
$custom: #2a74a7;
$custom-light: #759bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a74a7",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 167
  },
  "hsl": {
    "h": 204.48,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53752,
    "c": 0.1075,
    "h": 242.9
  },
  "luminance": 0.15773
}

Semantic roles & 50–950 ramp

primary
#2A74A7
secondary
#C28E6B
accent
#8545E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A74A7

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

Preview Lab → · Contrast checker → · Palette generator →

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