#2D5C8F#2D5C8F

#2D5C8F is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.7% C 0.098 H 252.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2D5C8F
RGBrgb(45, 92, 143)
HSLhsl(211, 52%, 37%)
HSVhsv(211, 69%, 56%)
CMYKcmyk(68.5%, 35.7%, 0%, 43.9%)
CIE-LABlab(38.19, 1.41, -32.88)
CIE-LCHlch(38.19, 32.91, 272.45°)
OKLaboklab(46.7% -0.0298 -0.0933)
OKLCHoklch(46.7% 0.098 252.3)
XYZxyz(9.8654, 10.1943, 27.4291)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5C8F #8F602D
analogous
#2D8D8F #2D5C8F #2F2D8F
triadic
#2D5C8F #8F2D5C #5C8F2D
tetradic
#2D5C8F #8F2D8D #8F602D #2D8F2F
square
#2D5C8F #8F2D8D #8F602D #2D8F2F
split-complementary
#2D5C8F #8F2F2D #8D8F2D
monochromatic
#102032 #1E3E60 #2D5C8F #3C7ABE #6799CF

Accessibility & contrast

On white

6.91
#2D5C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2D5C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5C8F
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5C8F#FFFFFF#000000##FFFFFF
##2D5C8F1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455F91
Deuteranopia (green-blind)
#38568E
Tritanopia (blue-blind)
#00686F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d5c8f;
/* rgb */ color: rgb(45, 92, 143);
/* oklch */ color: oklch(46.7% 0.098 252.3);
Tailwind
colors: {
  custom: {
    50: '#7189b0',
    500: '#2d5c8f',
    950: '#000000',
  },
}
SCSS
$custom: #2d5c8f;
$custom-light: #7189b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5c8f",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 143
  },
  "hsl": {
    "h": 211.224,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46699,
    "c": 0.09792,
    "h": 252.3
  },
  "luminance": 0.10195
}

Semantic roles & 50–950 ramp

primary
#2D5C8F
secondary
#B68E62
accent
#974CDC
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D5C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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