#2D5982#2D5982

#2D5982 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.2% C 0.083 H 248.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#2D5982
RGBrgb(45, 89, 130)
HSLhsl(209, 49%, 34%)
HSVhsv(209, 65%, 51%)
CMYKcmyk(65.4%, 31.5%, 0%, 49%)
CIE-LABlab(36.58, -1.46, -27.51)
CIE-LCHlch(36.58, 27.54, 266.96°)
OKLaboklab(45.22% -0.0304 -0.0776)
OKLCHoklch(45.22% 0.083 248.6)
XYZxyz(8.6823, 9.3135, 22.4549)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5982 #82562D
analogous
#2D8281 #2D5982 #2D2F82
triadic
#2D5982 #822D59 #59822D
tetradic
#2D5982 #812D82 #82562D #2F822D
square
#2D5982 #812D82 #82562D #2F822D
split-complementary
#2D5982 #822D2F #82812D
monochromatic
#0E1B27 #1D3A55 #2D5982 #3D78AF #6197C8

Accessibility & contrast

On white

7.34
#2D5982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2D5982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5982
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5982#FFFFFF#000000##FFFFFF
##2D59821.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475B84
Deuteranopia (green-blind)
#3C5281
Tritanopia (blue-blind)
#006368
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d5982;
/* rgb */ color: rgb(45, 89, 130);
/* oklch */ color: oklch(45.2% 0.083 248.6);
Tailwind
colors: {
  custom: {
    50: '#6f87a6',
    500: '#2d5982',
    950: '#000000',
  },
}
SCSS
$custom: #2d5982;
$custom-light: #6f87a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5982",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 130
  },
  "hsl": {
    "h": 208.941,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45215,
    "c": 0.08337,
    "h": 248.6
  },
  "luminance": 0.09314
}

Semantic roles & 50–950 ramp

primary
#2D5982
secondary
#AF845C
accent
#9150D8
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2D5982

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

Preview Lab → · Contrast checker → · Palette generator →

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