#2D74B8#2D74B8

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

Color values

HEX#2D74B8
RGBrgb(45, 116, 184)
HSLhsl(209, 61%, 45%)
HSVhsv(209, 76%, 72%)
CMYKcmyk(75.5%, 37%, 0%, 27.8%)
CIE-LABlab(47.63, 1.66, -42.17)
CIE-LCHlch(47.63, 42.20, 272.25°)
OKLaboklab(54.82% -0.0424 -0.1201)
OKLCHoklch(54.82% 0.127 250.6)
XYZxyz(15.9760, 16.5075, 47.6824)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D74B8 #B8712D
analogous
#2DB8B7 #2D74B8 #2D2EB8
triadic
#2D74B8 #B82D74 #74B82D
tetradic
#2D74B8 #B72DB8 #B8712D #2EB82D
square
#2D74B8 #B72DB8 #B8712D #2EB82D
split-complementary
#2D74B8 #B82D2E #B8B72D
monochromatic
#153656 #215587 #2D74B8 #4E93D4 #80B1E0

Accessibility & contrast

On white

4.88
#2D74B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#2D74B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D74B8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D74B8#FFFFFF#000000##FFFFFF
##2D74B81.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5478BB
Deuteranopia (green-blind)
#406BB7
Tritanopia (blue-blind)
#00848D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d74b8;
/* rgb */ color: rgb(45, 116, 184);
/* oklch */ color: oklch(54.8% 0.127 250.6);
Tailwind
colors: {
  custom: {
    50: '#799bcd',
    500: '#2d74b8',
    950: '#000000',
  },
}
SCSS
$custom: #2d74b8;
$custom-light: #799bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d74b8",
  "rgb": {
    "r": 45,
    "g": 116,
    "b": 184
  },
  "hsl": {
    "h": 209.353,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54818,
    "c": 0.12734,
    "h": 250.6
  },
  "luminance": 0.16509
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D74B8

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

Preview Lab → · Contrast checker → · Palette generator →

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