#2D5C8D#2D5C8D

#2D5C8D is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.6% C 0.095 H 251.4°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2D5C8D
RGBrgb(45, 92, 141)
HSLhsl(211, 52%, 36%)
HSVhsv(211, 68%, 55%)
CMYKcmyk(68.1%, 34.8%, 0%, 44.7%)
CIE-LABlab(38.08, 0.67, -31.84)
CIE-LCHlch(38.08, 31.85, 271.20°)
OKLaboklab(46.58% -0.0303 -0.0902)
OKLCHoklch(46.58% 0.095 251.4)
XYZxyz(9.7153, 10.1343, 26.6382)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5C8D #8D5E2D
analogous
#2D8C8D #2D5C8D #2E2D8D
triadic
#2D5C8D #8D2D5C #5C8D2D
tetradic
#2D5C8D #8D2D8C #8D5E2D #2D8D2E
square
#2D5C8D #8D2D8C #8D5E2D #2D8D2E
split-complementary
#2D5C8D #8D2E2D #8C8D2D
monochromatic
#0F1F30 #1E3E5F #2D5C8D #3C7ABB #6699CE

Accessibility & contrast

On white

6.94
#2D5C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2D5C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5C8D
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5C8D#FFFFFF#000000##FFFFFF
##2D5C8D1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F8F
Deuteranopia (green-blind)
#39568C
Tritanopia (blue-blind)
#00676E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d5c8d;
/* rgb */ color: rgb(45, 92, 141);
/* oklch */ color: oklch(46.6% 0.095 251.4);
Tailwind
colors: {
  custom: {
    50: '#7189ae',
    500: '#2d5c8d',
    950: '#000000',
  },
}
SCSS
$custom: #2d5c8d;
$custom-light: #7189ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5c8d",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 141
  },
  "hsl": {
    "h": 210.625,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46581,
    "c": 0.0952,
    "h": 251.4
  },
  "luminance": 0.10135
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D5C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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