#2D74A4#2D74A4

#2D74A4 is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.7% C 0.103 H 242.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2D74A4
RGBrgb(45, 116, 164)
HSLhsl(204, 57%, 41%)
HSVhsv(204, 73%, 64%)
CMYKcmyk(72.6%, 29.3%, 0%, 35.7%)
CIE-LABlab(46.61, -5.67, -32.12)
CIE-LCHlch(46.61, 32.62, 259.99°)
OKLaboklab(53.68% -0.0483 -0.0908)
OKLCHoklch(53.68% 0.103 242)
XYZxyz(14.0258, 15.7274, 37.4113)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D74A4 #A45D2D
analogous
#2DA498 #2D74A4 #2D38A4
triadic
#2D74A4 #A42D74 #74A42D
tetradic
#2D74A4 #982DA4 #A45D2D #38A42D
square
#2D74A4 #982DA4 #A45D2D #38A42D
split-complementary
#2D74A4 #A42D38 #A4982D
monochromatic
#133044 #205274 #2D74A4 #4394CB #73B0D9

Accessibility & contrast

On white

5.07
#2D74A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2D74A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D74A4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D74A4#FFFFFF#000000##FFFFFF
##2D74A41.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d74a4;
/* rgb */ color: rgb(45, 116, 164);
/* oklch */ color: oklch(53.7% 0.103 242.0);
Tailwind
colors: {
  custom: {
    50: '#759bbf',
    500: '#2d74a4',
    950: '#000000',
  },
}
SCSS
$custom: #2d74a4;
$custom-light: #759bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d74a4",
  "rgb": {
    "r": 45,
    "g": 116,
    "b": 164
  },
  "hsl": {
    "h": 204.202,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53683,
    "c": 0.10282,
    "h": 242
  },
  "luminance": 0.15729
}

Semantic roles & 50–950 ramp

primary
#2D74A4
secondary
#C08E6D
accent
#8548E0
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2D74A4

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

Preview Lab → · Contrast checker → · Palette generator →

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