#2A74CD#2A74CD

#2A74CD is a mid, vivid cyan. Relative luminance 0.174; OKLCH L 56.0% C 0.155 H 255.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2A74CD
RGBrgb(42, 116, 205)
HSLhsl(213, 66%, 48%)
HSVhsv(213, 80%, 80%)
CMYKcmyk(79.5%, 43.4%, 0%, 19.6%)
CIE-LABlab(48.75, 9.20, -52.47)
CIE-LCHlch(48.75, 53.27, 279.94°)
OKLaboklab(56.05% -0.0392 -0.1504)
OKLCHoklch(56.05% 0.155 255.4)
XYZxyz(18.2156, 17.3886, 60.1421)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A74CD #CD832A
analogous
#2AC5CD #2A74CD #322ACD
triadic
#2A74CD #CD2A74 #74CD2A
tetradic
#2A74CD #CD2AC5 #CD832A #2ACD32
square
#2A74CD #CD2AC5 #CD832A #2ACD32
split-complementary
#2A74CD #CD322A #C5CD2A
monochromatic
#153B67 #20579A #2A74CD #5894DD #8AB4E7

Accessibility & contrast

On white

4.69
#2A74CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2A74CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A74CD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A74CD#FFFFFF#000000##FFFFFF
##2A74CD1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#477CD0
Deuteranopia (green-blind)
#266DCB
Tritanopia (blue-blind)
#008996
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a74cd;
/* rgb */ color: rgb(42, 116, 205);
/* oklch */ color: oklch(56.0% 0.155 255.4);
Tailwind
colors: {
  custom: {
    50: '#7d9bdd',
    500: '#2a74cd',
    950: '#000000',
  },
}
SCSS
$custom: #2a74cd;
$custom-light: #7d9bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a74cd",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 212.761,
    "s": 65.992,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5605,
    "c": 0.15539,
    "h": 255.4
  },
  "luminance": 0.17391
}

Semantic roles & 50–950 ramp

primary
#2A74CD
secondary
#D1AD82
accent
#9C3FE9
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2A74CD

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

Preview Lab → · Contrast checker → · Palette generator →

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