#2D5172#2D5172

#2D5172 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.3% C 0.069 H 247.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2D5172
RGBrgb(45, 81, 114)
HSLhsl(209, 43%, 31%)
HSVhsv(209, 61%, 45%)
CMYKcmyk(60.5%, 28.9%, 0%, 55.3%)
CIE-LABlab(33.26, -2.13, -22.81)
CIE-LCHlch(33.26, 22.91, 264.66°)
OKLaboklab(42.34% -0.0262 -0.0641)
OKLCHoklch(42.34% 0.069 247.8)
XYZxyz(7.0608, 7.6570, 17.0222)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5172 #724E2D
analogous
#2D7270 #2D5172 #2D2E72
triadic
#2D5172 #722D51 #51722D
tetradic
#2D5172 #702D72 #724E2D #2E722D
square
#2D5172 #702D72 #724E2D #2E722D
split-complementary
#2D5172 #722D2E #72702D
monochromatic
#0A131A #1C3246 #2D5172 #3E709E #5B8FBE

Accessibility & contrast

On white

8.30
#2D5172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2D5172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5172
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5172#FFFFFF#000000##FFFFFF
##2D51721.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435273
Deuteranopia (green-blind)
#3A4B71
Tritanopia (blue-blind)
#00595C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d5172;
/* rgb */ color: rgb(45, 81, 114);
/* oklch */ color: oklch(42.3% 0.069 247.8);
Tailwind
colors: {
  custom: {
    50: '#6c819a',
    500: '#2d5172',
    950: '#000000',
  },
}
SCSS
$custom: #2d5172;
$custom-light: #6c819a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5172",
  "rgb": {
    "r": 45,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 208.696,
    "s": 43.396,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42339,
    "c": 0.06925,
    "h": 247.8
  },
  "luminance": 0.07658
}

Semantic roles & 50–950 ramp

primary
#2D5172
secondary
#A37C57
accent
#9155D3
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2D5172

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

Preview Lab → · Contrast checker → · Palette generator →

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