#2D5885#2D5885

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

Color values

HEX#2D5885
RGBrgb(45, 88, 133)
HSLhsl(211, 49%, 35%)
HSVhsv(211, 66%, 52%)
CMYKcmyk(66.2%, 33.8%, 0%, 47.8%)
CIE-LABlab(36.42, 0.27, -29.59)
CIE-LCHlch(36.42, 29.59, 270.52°)
OKLaboklab(45.14% -0.0283 -0.0837)
OKLCHoklch(45.14% 0.088 251.3)
XYZxyz(8.8040, 9.2299, 23.5033)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5885 #855A2D
analogous
#2D8485 #2D5885 #2E2D85
triadic
#2D5885 #852D58 #58852D
tetradic
#2D5885 #852D84 #855A2D #2D852E
square
#2D5885 #852D84 #855A2D #2D852E
split-complementary
#2D5885 #852E2D #84852D
monochromatic
#0E1B2A #1E3A57 #2D5885 #3C76B3 #6295CA

Accessibility & contrast

On white

7.38
#2D5885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2D5885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5885
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5885#FFFFFF#000000##FFFFFF
##2D58851.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d5885;
/* rgb */ color: rgb(45, 88, 133);
/* oklch */ color: oklch(45.1% 0.088 251.3);
Tailwind
colors: {
  custom: {
    50: '#6f86a8',
    500: '#2d5885',
    950: '#000000',
  },
}
SCSS
$custom: #2d5885;
$custom-light: #6f86a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5885",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 133
  },
  "hsl": {
    "h": 210.682,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45142,
    "c": 0.08837,
    "h": 251.3
  },
  "luminance": 0.09231
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D5885

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

Preview Lab → · Contrast checker → · Palette generator →

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