#2D74A8#2D74A8

#2D74A8 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.9% C 0.108 H 244.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2D74A8
RGBrgb(45, 116, 168)
HSLhsl(205, 58%, 42%)
HSVhsv(205, 73%, 66%)
CMYKcmyk(73.2%, 31%, 0%, 34.1%)
CIE-LABlab(46.81, -4.22, -34.16)
CIE-LCHlch(46.81, 34.42, 262.95°)
OKLaboklab(53.9% -0.047 -0.0967)
OKLCHoklch(53.9% 0.108 244.1)
XYZxyz(14.3927, 15.8742, 39.3437)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D74A8 #A8612D
analogous
#2DA89F #2D74A8 #2D37A8
triadic
#2D74A8 #A82D74 #74A82D
tetradic
#2D74A8 #9F2DA8 #A8612D #37A82D
square
#2D74A8 #9F2DA8 #A8612D #37A82D
split-complementary
#2D74A8 #A82D37 #A89F2D
monochromatic
#133147 #205378 #2D74A8 #4594CD #75AFDA

Accessibility & contrast

On white

5.03
#2D74A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D74A8
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D74A8#FFFFFF#000000##FFFFFF
##2D74A81.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d74a8;
/* rgb */ color: rgb(45, 116, 168);
/* oklch */ color: oklch(53.9% 0.108 244.1);
Tailwind
colors: {
  custom: {
    50: '#769bc2',
    500: '#2d74a8',
    950: '#000000',
  },
}
SCSS
$custom: #2d74a8;
$custom-light: #769bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d74a8",
  "rgb": {
    "r": 45,
    "g": 116,
    "b": 168
  },
  "hsl": {
    "h": 205.366,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.539,
    "c": 0.10751,
    "h": 244.1
  },
  "luminance": 0.15876
}

Semantic roles & 50–950 ramp

primary
#2D74A8
secondary
#C2926F
accent
#8847E1
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2D74A8

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

Preview Lab → · Contrast checker → · Palette generator →

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