#2D5388#2D5388

#2D5388 is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 44.1% C 0.098 H 257.1°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#2D5388
RGBrgb(45, 83, 136)
HSLhsl(215, 50%, 35%)
HSVhsv(215, 67%, 53%)
CMYKcmyk(66.9%, 39%, 0%, 46.7%)
CIE-LABlab(35.05, 4.60, -33.60)
CIE-LCHlch(35.05, 33.91, 277.80°)
OKLaboklab(44.12% -0.0219 -0.0955)
OKLCHoklch(44.12% 0.098 257.1)
XYZxyz(8.6178, 8.5211, 24.4784)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5388 #88622D
analogous
#2D8088 #2D5388 #342D88
triadic
#2D5388 #882D53 #53882D
tetradic
#2D5388 #882D80 #88622D #2D8834
square
#2D5388 #882D80 #88622D #2D8834
split-complementary
#2D5388 #88342D #80882D
monochromatic
#0F1B2C #1E375A #2D5388 #3C6FB6 #648FCC

Accessibility & contrast

On white

7.77
#2D5388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2D5388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5388
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5388#FFFFFF#000000##FFFFFF
##2D53881.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C578A
Deuteranopia (green-blind)
#2F4F87
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d5388;
/* rgb */ color: rgb(45, 83, 136);
/* oklch */ color: oklch(44.1% 0.098 257.1);
Tailwind
colors: {
  custom: {
    50: '#7083ab',
    500: '#2d5388',
    950: '#000000',
  },
}
SCSS
$custom: #2d5388;
$custom-light: #7083ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5388",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 136
  },
  "hsl": {
    "h": 214.945,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44119,
    "c": 0.09799,
    "h": 257.1
  },
  "luminance": 0.08522
}

Semantic roles & 50–950 ramp

primary
#2D5388
secondary
#B28F5F
accent
#9F4EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D5388

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

Preview Lab → · Contrast checker → · Palette generator →

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