#2D5984#2D5984

#2D5984 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.3% C 0.086 H 249.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2D5984
RGBrgb(45, 89, 132)
HSLhsl(210, 49%, 35%)
HSVhsv(210, 66%, 52%)
CMYKcmyk(65.9%, 32.6%, 0%, 48.2%)
CIE-LABlab(36.68, -0.73, -28.57)
CIE-LCHlch(36.68, 28.58, 268.53°)
OKLaboklab(45.33% -0.0297 -0.0807)
OKLCHoklch(45.33% 0.086 249.8)
XYZxyz(8.8179, 9.3677, 23.1688)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5984 #84582D
analogous
#2D8484 #2D5984 #2D2E84
triadic
#2D5984 #842D59 #59842D
tetradic
#2D5984 #842D84 #84582D #2E842D
square
#2D5984 #842D84 #84582D #2E842D
split-complementary
#2D5984 #842D2E #84842D
monochromatic
#0E1B29 #1D3A56 #2D5984 #3D78B2 #6296C9

Accessibility & contrast

On white

7.31
#2D5984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2D5984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5984
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5984#FFFFFF#000000##FFFFFF
##2D59841.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465B86
Deuteranopia (green-blind)
#3A5383
Tritanopia (blue-blind)
#006368
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d5984;
/* rgb */ color: rgb(45, 89, 132);
/* oklch */ color: oklch(45.3% 0.086 249.8);
Tailwind
colors: {
  custom: {
    50: '#6f87a8',
    500: '#2d5984',
    950: '#000000',
  },
}
SCSS
$custom: #2d5984;
$custom-light: #6f87a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5984",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 132
  },
  "hsl": {
    "h": 209.655,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45329,
    "c": 0.08604,
    "h": 249.8
  },
  "luminance": 0.09369
}

Semantic roles & 50–950 ramp

primary
#2D5984
secondary
#B0865D
accent
#934FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2D5984

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

Preview Lab → · Contrast checker → · Palette generator →

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