#2D5276#2D5276

#2D5276 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.8% C 0.074 H 249.3°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#2D5276
RGBrgb(45, 82, 118)
HSLhsl(210, 45%, 32%)
HSVhsv(210, 62%, 46%)
CMYKcmyk(61.9%, 30.5%, 0%, 53.7%)
CIE-LABlab(33.77, -1.34, -24.50)
CIE-LCHlch(33.77, 24.54, 266.86°)
OKLaboklab(42.81% -0.026 -0.069)
OKLCHoklch(42.81% 0.074 249.3)
XYZxyz(7.3683, 7.8998, 18.2725)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5276 #76512D
analogous
#2D7676 #2D5276 #2D2E76
triadic
#2D5276 #762D52 #52762D
tetradic
#2D5276 #762D76 #76512D #2E762D
square
#2D5276 #762D76 #76512D #2E762D
split-complementary
#2D5276 #762D2E #76762D
monochromatic
#0B141D #1C334A #2D5276 #3E71A2 #5C8FC1

Accessibility & contrast

On white

8.14
#2D5276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2D5276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5276
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5276#FFFFFF#000000##FFFFFF
##2D52761.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435378
Deuteranopia (green-blind)
#394C75
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d5276;
/* rgb */ color: rgb(45, 82, 118);
/* oklch */ color: oklch(42.8% 0.074 249.3);
Tailwind
colors: {
  custom: {
    50: '#6d829d',
    500: '#2d5276',
    950: '#000000',
  },
}
SCSS
$custom: #2d5276;
$custom-light: #6d829d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5276",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 118
  },
  "hsl": {
    "h": 209.589,
    "s": 44.785,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42809,
    "c": 0.07374,
    "h": 249.3
  },
  "luminance": 0.079
}

Semantic roles & 50–950 ramp

primary
#2D5276
secondary
#A77F57
accent
#9353D4
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2D5276

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

Preview Lab → · Contrast checker → · Palette generator →

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