#2D74BB#2D74BB

#2D74BB is a mid, vivid cyan. Relative luminance 0.166; OKLCH L 55.0% C 0.131 H 251.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2D74BB
RGBrgb(45, 116, 187)
HSLhsl(210, 61%, 45%)
HSVhsv(210, 76%, 73%)
CMYKcmyk(75.9%, 38%, 0%, 26.7%)
CIE-LABlab(47.80, 2.77, -43.64)
CIE-LCHlch(47.80, 43.73, 273.64°)
OKLaboklab(55% -0.0416 -0.1244)
OKLCHoklch(55% 0.131 251.5)
XYZxyz(16.2938, 16.6346, 49.3561)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D74BB #BB742D
analogous
#2DBBBB #2D74BB #2D2DBB
triadic
#2D74BB #BB2D74 #74BB2D
tetradic
#2D74BB #BB2DBB #BB742D #2DBB2D
square
#2D74BB #BB2DBB #BB742D #2DBB2D
split-complementary
#2D74BB #BB2D2D #BBBB2D
monochromatic
#153758 #21558A #2D74BB #5093D5 #82B1E1

Accessibility & contrast

On white

4.85
#2D74BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2D74BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D74BB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D74BB#FFFFFF#000000##FFFFFF
##2D74BB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5379BE
Deuteranopia (green-blind)
#3D6BBA
Tritanopia (blue-blind)
#00858E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d74bb;
/* rgb */ color: rgb(45, 116, 187);
/* oklch */ color: oklch(55.0% 0.131 251.5);
Tailwind
colors: {
  custom: {
    50: '#7a9bd0',
    500: '#2d74bb',
    950: '#000000',
  },
}
SCSS
$custom: #2d74bb;
$custom-light: #7a9bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d74bb",
  "rgb": {
    "r": 45,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 210,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54999,
    "c": 0.13119,
    "h": 251.5
  },
  "luminance": 0.16637
}

Semantic roles & 50–950 ramp

primary
#2D74BB
secondary
#CAA27A
accent
#9443E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2D74BB

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

Preview Lab → · Contrast checker → · Palette generator →

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