#2D5C8E#2D5C8E

#2D5C8E is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.6% C 0.097 H 251.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2D5C8E
RGBrgb(45, 92, 142)
HSLhsl(211, 52%, 37%)
HSVhsv(211, 68%, 56%)
CMYKcmyk(68.3%, 35.2%, 0%, 44.3%)
CIE-LABlab(38.14, 1.04, -32.36)
CIE-LCHlch(38.14, 32.38, 271.83°)
OKLaboklab(46.64% -0.03 -0.0918)
OKLCHoklch(46.64% 0.097 251.9)
XYZxyz(9.7900, 10.1642, 27.0319)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5C8E #8E5F2D
analogous
#2D8D8E #2D5C8E #2F2D8E
triadic
#2D5C8E #8E2D5C #5C8E2D
tetradic
#2D5C8E #8E2D8D #8E5F2D #2D8E2F
square
#2D5C8E #8E2D8D #8E5F2D #2D8E2F
split-complementary
#2D5C8E #8E2F2D #8D8E2D
monochromatic
#102031 #1E3E60 #2D5C8E #3C7ABC #6799CF

Accessibility & contrast

On white

6.92
#2D5C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D5C8E
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5C8E#FFFFFF#000000##FFFFFF
##2D5C8E1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F90
Deuteranopia (green-blind)
#38568D
Tritanopia (blue-blind)
#00686E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d5c8e;
/* rgb */ color: rgb(45, 92, 142);
/* oklch */ color: oklch(46.6% 0.097 251.9);
Tailwind
colors: {
  custom: {
    50: '#7189af',
    500: '#2d5c8e',
    950: '#000000',
  },
}
SCSS
$custom: #2d5c8e;
$custom-light: #7189af;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5c8e",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 142
  },
  "hsl": {
    "h": 210.928,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4664,
    "c": 0.09656,
    "h": 251.9
  },
  "luminance": 0.10165
}

Semantic roles & 50–950 ramp

primary
#2D5C8E
secondary
#B58D61
accent
#964CDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D5C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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