#2A74A4#2A74A4

#2A74A4 is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.6% C 0.104 H 241.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2A74A4
RGBrgb(42, 116, 164)
HSLhsl(204, 59%, 40%)
HSVhsv(204, 74%, 64%)
CMYKcmyk(74.4%, 29.3%, 0%, 35.7%)
CIE-LABlab(46.53, -6.10, -32.27)
CIE-LCHlch(46.53, 32.84, 259.30°)
OKLaboklab(53.59% -0.05 -0.0912)
OKLCHoklch(53.59% 0.104 241.3)
XYZxyz(13.8985, 15.6618, 37.4053)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A74A4 #A45A2A
analogous
#2AA497 #2A74A4 #2A37A4
triadic
#2A74A4 #A42A74 #74A42A
tetradic
#2A74A4 #972AA4 #A45A2A #37A42A
square
#2A74A4 #972AA4 #A45A2A #37A42A
split-complementary
#2A74A4 #A42A37 #A4972A
monochromatic
#112F43 #1E5273 #2A74A4 #3E95CD #6EB0DA

Accessibility & contrast

On white

5.08
#2A74A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2A74A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A74A4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A74A4#FFFFFF#000000##FFFFFF
##2A74A41.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E75A6
Deuteranopia (green-blind)
#4D69A3
Tritanopia (blue-blind)
#008085
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a74a4;
/* rgb */ color: rgb(42, 116, 164);
/* oklch */ color: oklch(53.6% 0.104 241.3);
Tailwind
colors: {
  custom: {
    50: '#749bbf',
    500: '#2a74a4',
    950: '#000000',
  },
}
SCSS
$custom: #2a74a4;
$custom-light: #749bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a74a4",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 164
  },
  "hsl": {
    "h": 203.607,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.53589,
    "c": 0.10402,
    "h": 241.3
  },
  "luminance": 0.15663
}

Semantic roles & 50–950 ramp

primary
#2A74A4
secondary
#C18C69
accent
#8345E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A74A4

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

Preview Lab → · Contrast checker → · Palette generator →

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