#2D5B7D#2D5B7D

#2D5B7D is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.4% C 0.075 H 242.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2D5B7D
RGBrgb(45, 91, 125)
HSLhsl(206, 47%, 33%)
HSVhsv(206, 64%, 49%)
CMYKcmyk(64%, 27.2%, 0%, 51%)
CIE-LABlab(36.97, -4.50, -23.84)
CIE-LCHlch(36.97, 24.26, 259.31°)
OKLaboklab(45.44% -0.0344 -0.067)
OKLCHoklch(45.44% 0.075 242.8)
XYZxyz(8.5236, 9.5199, 20.7864)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5B7D #7D4F2D
analogous
#2D7D77 #2D5B7D #2D337D
triadic
#2D5B7D #7D2D5B #5B7D2D
tetradic
#2D5B7D #772D7D #7D4F2D #337D2D
square
#2D5B7D #772D7D #7D4F2D #337D2D
split-complementary
#2D5B7D #7D2D33 #7D772D
monochromatic
#0D1923 #1D3A50 #2D5B7D #3D7CAA #5F9AC5

Accessibility & contrast

On white

7.23
#2D5B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2D5B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5B7D
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5B7D#FFFFFF#000000##FFFFFF
##2D5B7D1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5B7F
Deuteranopia (green-blind)
#41537C
Tritanopia (blue-blind)
#006367
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d5b7d;
/* rgb */ color: rgb(45, 91, 125);
/* oklch */ color: oklch(45.4% 0.075 242.8);
Tailwind
colors: {
  custom: {
    50: '#6e89a2',
    500: '#2d5b7d',
    950: '#000000',
  },
}
SCSS
$custom: #2d5b7d;
$custom-light: #6e89a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5b7d",
  "rgb": {
    "r": 45,
    "g": 91,
    "b": 125
  },
  "hsl": {
    "h": 205.5,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45439,
    "c": 0.0753,
    "h": 242.8
  },
  "luminance": 0.09521
}

Semantic roles & 50–950 ramp

primary
#2D5B7D
secondary
#AC7D5A
accent
#8A51D7
background
#F6F8FA
surface
#ECF0F3
border
#C7CBCD
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2D5B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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