#2D5D8B#2D5D8B

#2D5D8B is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.7% C 0.092 H 249.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2D5D8B
RGBrgb(45, 93, 139)
HSLhsl(209, 51%, 36%)
HSVhsv(209, 68%, 55%)
CMYKcmyk(67.6%, 33.1%, 0%, 45.5%)
CIE-LABlab(38.29, -0.70, -30.31)
CIE-LCHlch(38.29, 30.32, 268.68°)
OKLaboklab(46.71% -0.032 -0.0858)
OKLCHoklch(46.71% 0.092 249.5)
XYZxyz(9.6550, 10.2497, 25.8907)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5D8B #8B5B2D
analogous
#2D8B8A #2D5D8B #2D2E8B
triadic
#2D5D8B #8B2D5D #5D8B2D
tetradic
#2D5D8B #8A2D8B #8B5B2D #2E8B2D
square
#2D5D8B #8A2D8B #8B5B2D #2E8B2D
split-complementary
#2D5D8B #8B2D2E #8B8A2D
monochromatic
#0F1F2F #1E3E5D #2D5D8B #3C7CB9 #659ACD

Accessibility & contrast

On white

6.88
#2D5D8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2D5D8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5D8B
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5D8B#FFFFFF#000000##FFFFFF
##2D5D8B1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8D
Deuteranopia (green-blind)
#3C568A
Tritanopia (blue-blind)
#00686D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d5d8b;
/* rgb */ color: rgb(45, 93, 139);
/* oklch */ color: oklch(46.7% 0.092 249.5);
Tailwind
colors: {
  custom: {
    50: '#708aad',
    500: '#2d5d8b',
    950: '#000000',
  },
}
SCSS
$custom: #2d5d8b;
$custom-light: #708aad;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5d8b",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 139
  },
  "hsl": {
    "h": 209.362,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46707,
    "c": 0.09154,
    "h": 249.5
  },
  "luminance": 0.10251
}

Semantic roles & 50–950 ramp

primary
#2D5D8B
secondary
#B48960
accent
#924DDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D5D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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