#2D5174#2D5174

#2D5174 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.4% C 0.072 H 249.2°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#2D5174
RGBrgb(45, 81, 116)
HSLhsl(210, 44%, 32%)
HSVhsv(210, 61%, 45%)
CMYKcmyk(61.2%, 30.2%, 0%, 54.5%)
CIE-LABlab(33.36, -1.42, -23.91)
CIE-LCHlch(33.36, 23.95, 266.60°)
OKLaboklab(42.45% -0.0255 -0.0673)
OKLCHoklch(42.45% 0.072 249.2)
XYZxyz(7.1759, 7.7031, 17.6283)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5174 #74502D
analogous
#2D7474 #2D5174 #2D2E74
triadic
#2D5174 #742D51 #51742D
tetradic
#2D5174 #742D74 #74502D #2E742D
square
#2D5174 #742D74 #74502D #2E742D
split-complementary
#2D5174 #742D2E #74742D
monochromatic
#0B131C #1C3248 #2D5174 #3E70A0 #5C8EC0

Accessibility & contrast

On white

8.27
#2D5174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2D5174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5174
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5174#FFFFFF#000000##FFFFFF
##2D51741.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425276
Deuteranopia (green-blind)
#394B73
Tritanopia (blue-blind)
#00595D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d5174;
/* rgb */ color: rgb(45, 81, 116);
/* oklch */ color: oklch(42.4% 0.072 249.2);
Tailwind
colors: {
  custom: {
    50: '#6c819c',
    500: '#2d5174',
    950: '#000000',
  },
}
SCSS
$custom: #2d5174;
$custom-light: #6c819c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5174",
  "rgb": {
    "r": 45,
    "g": 81,
    "b": 116
  },
  "hsl": {
    "h": 209.577,
    "s": 44.099,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42449,
    "c": 0.07195,
    "h": 249.2
  },
  "luminance": 0.07704
}

Semantic roles & 50–950 ramp

primary
#2D5174
secondary
#A57E57
accent
#9354D4
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2D5174

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

Preview Lab → · Contrast checker → · Palette generator →

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