#2D74A2#2D74A2

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

Color values

HEX#2D74A2
RGBrgb(45, 116, 162)
HSLhsl(204, 57%, 41%)
HSVhsv(204, 72%, 64%)
CMYKcmyk(72.2%, 28.4%, 0%, 36.5%)
CIE-LABlab(46.52, -6.39, -31.10)
CIE-LCHlch(46.52, 31.75, 258.39°)
OKLaboklab(53.58% -0.0489 -0.0878)
OKLCHoklch(53.58% 0.101 240.9)
XYZxyz(13.8466, 15.6558, 36.4675)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D74A2 #A25B2D
analogous
#2DA295 #2D74A2 #2D39A2
triadic
#2D74A2 #A22D74 #74A22D
tetradic
#2D74A2 #952DA2 #A25B2D #39A22D
square
#2D74A2 #952DA2 #A25B2D #39A22D
split-complementary
#2D74A2 #A22D39 #A2952D
monochromatic
#122F42 #205272 #2D74A2 #4295CA #72B0D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D74A2#FFFFFF#000000##FFFFFF
##2D74A21.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)
#5F74A4
Deuteranopia (green-blind)
#4F69A1
Tritanopia (blue-blind)
#007F84
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d74a2;
/* rgb */ color: rgb(45, 116, 162);
/* oklch */ color: oklch(53.6% 0.101 240.9);
Tailwind
colors: {
  custom: {
    50: '#759bbd',
    500: '#2d74a2',
    950: '#000000',
  },
}
SCSS
$custom: #2d74a2;
$custom-light: #759bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d74a2",
  "rgb": {
    "r": 45,
    "g": 116,
    "b": 162
  },
  "hsl": {
    "h": 203.59,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53576,
    "c": 0.10052,
    "h": 240.9
  },
  "luminance": 0.15657
}

Semantic roles & 50–950 ramp

primary
#2D74A2
secondary
#BF8C6C
accent
#8448E0
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2D74A2

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

Preview Lab → · Contrast checker → · Palette generator →

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