#2D5884#2D5884

#2D5884 is a mid, moderate cyan. Relative luminance 0.092; OKLCH L 45.1% C 0.087 H 250.8°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#2D5884
RGBrgb(45, 88, 132)
HSLhsl(210, 49%, 35%)
HSVhsv(210, 66%, 52%)
CMYKcmyk(65.9%, 33.3%, 0%, 48.2%)
CIE-LABlab(36.37, -0.10, -29.06)
CIE-LCHlch(36.37, 29.06, 269.81°)
OKLaboklab(45.08% -0.0286 -0.0822)
OKLCHoklch(45.08% 0.087 250.8)
XYZxyz(8.7352, 9.2024, 23.1412)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5884 #84592D
analogous
#2D8484 #2D5884 #2E2D84
triadic
#2D5884 #842D58 #58842D
tetradic
#2D5884 #842D84 #84592D #2D842E
square
#2D5884 #842D84 #84592D #2D842E
split-complementary
#2D5884 #842E2D #84842D
monochromatic
#0E1B29 #1D3A56 #2D5884 #3D76B2 #6295C9

Accessibility & contrast

On white

7.39
#2D5884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2D5884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5884
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5884#FFFFFF#000000##FFFFFF
##2D58841.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455A86
Deuteranopia (green-blind)
#395283
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d5884;
/* rgb */ color: rgb(45, 88, 132);
/* oklch */ color: oklch(45.1% 0.087 250.8);
Tailwind
colors: {
  custom: {
    50: '#6f86a8',
    500: '#2d5884',
    950: '#000000',
  },
}
SCSS
$custom: #2d5884;
$custom-light: #6f86a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5884",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 132
  },
  "hsl": {
    "h": 210.345,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45084,
    "c": 0.08702,
    "h": 250.8
  },
  "luminance": 0.09203
}

Semantic roles & 50–950 ramp

primary
#2D5884
secondary
#B0875D
accent
#954FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2D5884

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

Preview Lab → · Contrast checker → · Palette generator →

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