#2D74B7#2D74B7

#2D74B7 is a mid, vivid cyan. Relative luminance 0.165; OKLCH L 54.8% C 0.126 H 250.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2D74B7
RGBrgb(45, 116, 183)
HSLhsl(209, 61%, 45%)
HSVhsv(209, 75%, 72%)
CMYKcmyk(75.4%, 36.6%, 0%, 28.2%)
CIE-LABlab(47.58, 1.29, -41.67)
CIE-LCHlch(47.58, 41.69, 271.77°)
OKLaboklab(54.76% -0.0426 -0.1186)
OKLCHoklch(54.76% 0.126 250.2)
XYZxyz(15.8716, 16.4657, 47.1323)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D74B7 #B7702D
analogous
#2DB7B5 #2D74B7 #2D2FB7
triadic
#2D74B7 #B72D74 #74B72D
tetradic
#2D74B7 #B52DB7 #B7702D #2FB72D
square
#2D74B7 #B52DB7 #B7702D #2FB72D
split-complementary
#2D74B7 #B72D2F #B7B52D
monochromatic
#153655 #215586 #2D74B7 #4E93D3 #7FB1DF

Accessibility & contrast

On white

4.89
#2D74B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2D74B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D74B7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D74B7#FFFFFF#000000##FFFFFF
##2D74B71.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5578BA
Deuteranopia (green-blind)
#406BB6
Tritanopia (blue-blind)
#00848D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d74b7;
/* rgb */ color: rgb(45, 116, 183);
/* oklch */ color: oklch(54.8% 0.126 250.2);
Tailwind
colors: {
  custom: {
    50: '#799bcd',
    500: '#2d74b7',
    950: '#000000',
  },
}
SCSS
$custom: #2d74b7;
$custom-light: #799bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d74b7",
  "rgb": {
    "r": 45,
    "g": 116,
    "b": 183
  },
  "hsl": {
    "h": 209.13,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54758,
    "c": 0.12607,
    "h": 250.2
  },
  "luminance": 0.16468
}

Semantic roles & 50–950 ramp

primary
#2D74B7
secondary
#C89F78
accent
#9244E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2D74B7

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

Preview Lab → · Contrast checker → · Palette generator →

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