#2D5E8A#2D5E8A

#2D5E8A is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.9% C 0.089 H 248.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#2D5E8A
RGBrgb(45, 94, 138)
HSLhsl(208, 51%, 36%)
HSVhsv(208, 67%, 54%)
CMYKcmyk(67.4%, 31.9%, 0%, 45.9%)
CIE-LABlab(38.55, -1.69, -29.29)
CIE-LCHlch(38.55, 29.34, 266.70°)
OKLaboklab(46.89% -0.0334 -0.0828)
OKLCHoklch(46.89% 0.089 248)
XYZxyz(9.6706, 10.3973, 25.5371)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5E8A #8A592D
analogous
#2D8A87 #2D5E8A #2D2F8A
triadic
#2D5E8A #8A2D5E #5E8A2D
tetradic
#2D5E8A #872D8A #8A592D #2F8A2D
square
#2D5E8A #872D8A #8A592D #2F8A2D
split-complementary
#2D5E8A #8A2D2F #8A872D
monochromatic
#0F1F2E #1E3F5C #2D5E8A #3C7DB8 #659BCD

Accessibility & contrast

On white

6.82
#2D5E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2D5E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5E8A
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5E8A#FFFFFF#000000##FFFFFF
##2D5E8A1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608C
Deuteranopia (green-blind)
#3E5789
Tritanopia (blue-blind)
#00686E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d5e8a;
/* rgb */ color: rgb(45, 94, 138);
/* oklch */ color: oklch(46.9% 0.089 248.0);
Tailwind
colors: {
  custom: {
    50: '#708bac',
    500: '#2d5e8a',
    950: '#000000',
  },
}
SCSS
$custom: #2d5e8a;
$custom-light: #708bac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5e8a",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 138
  },
  "hsl": {
    "h": 208.387,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46894,
    "c": 0.08928,
    "h": 248
  },
  "luminance": 0.10398
}

Semantic roles & 50–950 ramp

primary
#2D5E8A
secondary
#B38760
accent
#904DDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2D5E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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