#2A74A2#2A74A2

#2A74A2 is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.5% C 0.102 H 240.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2A74A2
RGBrgb(42, 116, 162)
HSLhsl(203, 59%, 40%)
HSVhsv(203, 74%, 64%)
CMYKcmyk(74.1%, 28.4%, 0%, 36.5%)
CIE-LABlab(46.43, -6.82, -31.24)
CIE-LCHlch(46.43, 31.98, 257.68°)
OKLaboklab(53.48% -0.0506 -0.0882)
OKLCHoklch(53.48% 0.102 240.1)
XYZxyz(13.7193, 15.5901, 36.4616)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A74A2 #A2582A
analogous
#2AA294 #2A74A2 #2A38A2
triadic
#2A74A2 #A22A74 #74A22A
tetradic
#2A74A2 #942AA2 #A2582A #38A22A
square
#2A74A2 #942AA2 #A2582A #38A22A
split-complementary
#2A74A2 #A22A38 #A2942A
monochromatic
#112E41 #1D5171 #2A74A2 #3D95CD #6DB0D9

Accessibility & contrast

On white

5.10
#2A74A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2A74A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A74A2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A74A2#FFFFFF#000000##FFFFFF
##2A74A21.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F74A4
Deuteranopia (green-blind)
#4E69A1
Tritanopia (blue-blind)
#008084
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a74a2;
/* rgb */ color: rgb(42, 116, 162);
/* oklch */ color: oklch(53.5% 0.102 240.1);
Tailwind
colors: {
  custom: {
    50: '#749bbd',
    500: '#2a74a2',
    950: '#000000',
  },
}
SCSS
$custom: #2a74a2;
$custom-light: #749bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a74a2",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 162
  },
  "hsl": {
    "h": 203,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.53482,
    "c": 0.10175,
    "h": 240.1
  },
  "luminance": 0.15592
}

Semantic roles & 50–950 ramp

primary
#2A74A2
secondary
#C08A68
accent
#8246E2
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A74A2

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

Preview Lab → · Contrast checker → · Palette generator →

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