#2D5688#2D5688

#2D5688 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.8% C 0.095 H 254.5°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#2D5688
RGBrgb(45, 86, 136)
HSLhsl(213, 50%, 35%)
HSVhsv(213, 67%, 53%)
CMYKcmyk(66.9%, 36.8%, 0%, 46.7%)
CIE-LABlab(35.97, 2.65, -32.14)
CIE-LCHlch(35.97, 32.25, 274.72°)
OKLaboklab(44.84% -0.0252 -0.0912)
OKLCHoklch(44.84% 0.095 254.5)
XYZxyz(8.8523, 8.9902, 24.5565)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5688 #885F2D
analogous
#2D8388 #2D5688 #312D88
triadic
#2D5688 #882D56 #56882D
tetradic
#2D5688 #882D83 #885F2D #2D8831
square
#2D5688 #882D83 #885F2D #2D8831
split-complementary
#2D5688 #88312D #83882D
monochromatic
#0F1C2C #1E395A #2D5688 #3C73B6 #6493CC

Accessibility & contrast

On white

7.50
#2D5688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2D5688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5688
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5688#FFFFFF#000000##FFFFFF
##2D56881.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40598A
Deuteranopia (green-blind)
#335187
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d5688;
/* rgb */ color: rgb(45, 86, 136);
/* oklch */ color: oklch(44.8% 0.095 254.5);
Tailwind
colors: {
  custom: {
    50: '#7085ab',
    500: '#2d5688',
    950: '#000000',
  },
}
SCSS
$custom: #2d5688;
$custom-light: #7085ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5688",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 136
  },
  "hsl": {
    "h": 212.967,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44836,
    "c": 0.09462,
    "h": 254.5
  },
  "luminance": 0.08991
}

Semantic roles & 50–950 ramp

primary
#2D5688
secondary
#B28D5F
accent
#9B4EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D5688

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

Preview Lab → · Contrast checker → · Palette generator →

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