#2D5E8B#2D5E8B

#2D5E8B is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 47.0% C 0.091 H 248.6°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#2D5E8B
RGBrgb(45, 94, 139)
HSLhsl(209, 51%, 36%)
HSVhsv(209, 68%, 55%)
CMYKcmyk(67.6%, 32.4%, 0%, 45.5%)
CIE-LABlab(38.60, -1.33, -29.82)
CIE-LCHlch(38.60, 29.85, 267.45°)
OKLaboklab(46.95% -0.0331 -0.0843)
OKLCHoklch(46.95% 0.091 248.6)
XYZxyz(9.7434, 10.4264, 25.9201)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5E8B #8B5A2D
analogous
#2D8B89 #2D5E8B #2D2F8B
triadic
#2D5E8B #8B2D5E #5E8B2D
tetradic
#2D5E8B #892D8B #8B5A2D #2F8B2D
square
#2D5E8B #892D8B #8B5A2D #2F8B2D
split-complementary
#2D5E8B #8B2D2F #8B892D
monochromatic
#0F1F2F #1E3F5D #2D5E8B #3C7DB9 #659BCD

Accessibility & contrast

On white

6.81
#2D5E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2D5E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5E8B
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5E8B#FFFFFF#000000##FFFFFF
##2D5E8B1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A608D
Deuteranopia (green-blind)
#3D578A
Tritanopia (blue-blind)
#00696E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d5e8b;
/* rgb */ color: rgb(45, 94, 139);
/* oklch */ color: oklch(47.0% 0.091 248.6);
Tailwind
colors: {
  custom: {
    50: '#708bad',
    500: '#2d5e8b',
    950: '#000000',
  },
}
SCSS
$custom: #2d5e8b;
$custom-light: #708bad;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5e8b",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 139
  },
  "hsl": {
    "h": 208.723,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46951,
    "c": 0.09059,
    "h": 248.6
  },
  "luminance": 0.10427
}

Semantic roles & 50–950 ramp

primary
#2D5E8B
secondary
#B48860
accent
#914DDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2D5E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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