#2D5C8B#2D5C8B

#2D5C8B is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.5% C 0.093 H 250.5°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2D5C8B
RGBrgb(45, 92, 139)
HSLhsl(210, 51%, 36%)
HSVhsv(210, 68%, 55%)
CMYKcmyk(67.6%, 33.8%, 0%, 45.5%)
CIE-LABlab(37.98, -0.07, -30.80)
CIE-LCHlch(37.98, 30.80, 269.87°)
OKLaboklab(46.46% -0.0309 -0.0872)
OKLCHoklch(46.46% 0.093 250.5)
XYZxyz(9.5678, 10.0753, 25.8616)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5C8B #8B5C2D
analogous
#2D8B8B #2D5C8B #2D2D8B
triadic
#2D5C8B #8B2D5C #5C8B2D
tetradic
#2D5C8B #8B2D8B #8B5C2D #2D8B2D
square
#2D5C8B #8B2D8B #8B5C2D #2D8B2D
split-complementary
#2D5C8B #8B2D2D #8B8B2D
monochromatic
#0F1F2F #1E3D5D #2D5C8B #3C7BB9 #6599CD

Accessibility & contrast

On white

6.96
#2D5C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2D5C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5C8B
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5C8B#FFFFFF#000000##FFFFFF
##2D5C8B1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475E8D
Deuteranopia (green-blind)
#3A558A
Tritanopia (blue-blind)
#00676D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d5c8b;
/* rgb */ color: rgb(45, 92, 139);
/* oklch */ color: oklch(46.5% 0.093 250.5);
Tailwind
colors: {
  custom: {
    50: '#7089ad',
    500: '#2d5c8b',
    950: '#000000',
  },
}
SCSS
$custom: #2d5c8b;
$custom-light: #7089ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5c8b",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 139
  },
  "hsl": {
    "h": 210,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46464,
    "c": 0.09251,
    "h": 250.5
  },
  "luminance": 0.10076
}

Semantic roles & 50–950 ramp

primary
#2D5C8B
secondary
#B48A60
accent
#944DDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D5C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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