#2D5D8E#2D5D8E

#2D5D8E is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.9% C 0.096 H 251.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2D5D8E
RGBrgb(45, 93, 142)
HSLhsl(210, 52%, 37%)
HSVhsv(210, 68%, 56%)
CMYKcmyk(68.3%, 34.5%, 0%, 44.3%)
CIE-LABlab(38.44, 0.40, -31.88)
CIE-LCHlch(38.44, 31.88, 270.72°)
OKLaboklab(46.88% -0.0311 -0.0903)
OKLCHoklch(46.88% 0.096 251)
XYZxyz(9.8772, 10.3386, 27.0609)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5D8E #8E5E2D
analogous
#2D8E8E #2D5D8E #2D2D8E
triadic
#2D5D8E #8E2D5D #5D8E2D
tetradic
#2D5D8E #8E2D8E #8E5E2D #2D8E2D
square
#2D5D8E #8E2D8E #8E5E2D #2D8E2D
split-complementary
#2D5D8E #8E2D2D #8E8E2D
monochromatic
#102031 #1E3F60 #2D5D8E #3C7BBC #679ACF

Accessibility & contrast

On white

6.84
#2D5D8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2D5D8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5D8E
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5D8E#FFFFFF#000000##FFFFFF
##2D5D8E1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476090
Deuteranopia (green-blind)
#3A568D
Tritanopia (blue-blind)
#00686F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d5d8e;
/* rgb */ color: rgb(45, 93, 142);
/* oklch */ color: oklch(46.9% 0.096 251.0);
Tailwind
colors: {
  custom: {
    50: '#718aaf',
    500: '#2d5d8e',
    950: '#000000',
  },
}
SCSS
$custom: #2d5d8e;
$custom-light: #718aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5d8e",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 142
  },
  "hsl": {
    "h": 210.309,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46881,
    "c": 0.09554,
    "h": 251
  },
  "luminance": 0.1034
}

Semantic roles & 50–950 ramp

primary
#2D5D8E
secondary
#B58C61
accent
#954CDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D5D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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