#2D74A0#2D74A0

#2D74A0 is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.5% C 0.098 H 239.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2D74A0
RGBrgb(45, 116, 160)
HSLhsl(203, 56%, 40%)
HSVhsv(203, 72%, 63%)
CMYKcmyk(71.9%, 27.5%, 0%, 37.3%)
CIE-LABlab(46.43, -7.11, -30.07)
CIE-LCHlch(46.43, 30.90, 256.70°)
OKLaboklab(53.47% -0.0496 -0.0848)
OKLCHoklch(53.47% 0.098 239.7)
XYZxyz(13.6703, 15.5852, 35.5387)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D74A0 #A0592D
analogous
#2DA093 #2D74A0 #2D3AA0
triadic
#2D74A0 #A02D74 #74A02D
tetradic
#2D74A0 #932DA0 #A0592D #3AA02D
square
#2D74A0 #932DA0 #A0592D #3AA02D
split-complementary
#2D74A0 #A02D3A #A0932D
monochromatic
#122F40 #205170 #2D74A0 #4195C9 #70B0D7

Accessibility & contrast

On white

5.10
#2D74A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2D74A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D74A0
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D74A0#FFFFFF#000000##FFFFFF
##2D74A01.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6074A2
Deuteranopia (green-blind)
#50699F
Tritanopia (blue-blind)
#007F83
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d74a0;
/* rgb */ color: rgb(45, 116, 160);
/* oklch */ color: oklch(53.5% 0.098 239.7);
Tailwind
colors: {
  custom: {
    50: '#759bbc',
    500: '#2d74a0',
    950: '#000000',
  },
}
SCSS
$custom: #2d74a0;
$custom-light: #759bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d74a0",
  "rgb": {
    "r": 45,
    "g": 116,
    "b": 160
  },
  "hsl": {
    "h": 202.957,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5347,
    "c": 0.09827,
    "h": 239.7
  },
  "luminance": 0.15587
}

Semantic roles & 50–950 ramp

primary
#2D74A0
secondary
#BE8B6B
accent
#8248DF
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2D74A0

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

Preview Lab → · Contrast checker → · Palette generator →

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