#2D74B2#2D74B2

#2D74B2 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.5% C 0.120 H 248.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2D74B2
RGBrgb(45, 116, 178)
HSLhsl(208, 60%, 44%)
HSVhsv(208, 75%, 70%)
CMYKcmyk(74.7%, 34.8%, 0%, 30.2%)
CIE-LABlab(47.32, -0.56, -39.19)
CIE-LCHlch(47.32, 39.19, 269.18°)
OKLaboklab(54.47% -0.044 -0.1114)
OKLCHoklch(54.47% 0.12 248.4)
XYZxyz(15.3604, 16.2613, 44.4400)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D74B2 #B26B2D
analogous
#2DB2AD #2D74B2 #2D31B2
triadic
#2D74B2 #B22D74 #74B22D
tetradic
#2D74B2 #AD2DB2 #B26B2D #31B22D
square
#2D74B2 #AD2DB2 #B26B2D #31B22D
split-complementary
#2D74B2 #B22D31 #B2AD2D
monochromatic
#143450 #215481 #2D74B2 #4B93D1 #7CB0DE

Accessibility & contrast

On white

4.94
#2D74B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2D74B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D74B2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D74B2#FFFFFF#000000##FFFFFF
##2D74B21.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5877B5
Deuteranopia (green-blind)
#446BB1
Tritanopia (blue-blind)
#00838B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d74b2;
/* rgb */ color: rgb(45, 116, 178);
/* oklch */ color: oklch(54.5% 0.120 248.4);
Tailwind
colors: {
  custom: {
    50: '#789bc9',
    500: '#2d74b2',
    950: '#000000',
  },
}
SCSS
$custom: #2d74b2;
$custom-light: #789bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d74b2",
  "rgb": {
    "r": 45,
    "g": 116,
    "b": 178
  },
  "hsl": {
    "h": 207.97,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54465,
    "c": 0.11976,
    "h": 248.4
  },
  "luminance": 0.16263
}

Semantic roles & 50–950 ramp

primary
#2D74B2
secondary
#C69B75
accent
#8F45E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2D74B2

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

Preview Lab → · Contrast checker → · Palette generator →

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