#2D5B7E#2D5B7E

#2D5B7E is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.5% C 0.077 H 243.6°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2D5B7E
RGBrgb(45, 91, 126)
HSLhsl(206, 47%, 34%)
HSVhsv(206, 64%, 49%)
CMYKcmyk(64.3%, 27.8%, 0%, 50.6%)
CIE-LABlab(37.01, -4.15, -24.38)
CIE-LCHlch(37.01, 24.73, 260.35°)
OKLaboklab(45.49% -0.034 -0.0686)
OKLCHoklch(45.49% 0.077 243.6)
XYZxyz(8.5878, 9.5456, 21.1245)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5B7E #7E502D
analogous
#2D7E78 #2D5B7E #2D327E
triadic
#2D5B7E #7E2D5B #5B7E2D
tetradic
#2D5B7E #782D7E #7E502D #327E2D
square
#2D5B7E #782D7E #7E502D #327E2D
split-complementary
#2D5B7E #7E2D32 #7E782D
monochromatic
#0D1A24 #1D3A51 #2D5B7E #3D7CAB #5F9AC6

Accessibility & contrast

On white

7.22
#2D5B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2D5B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5B7E
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5B7E#FFFFFF#000000##FFFFFF
##2D5B7E1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5C80
Deuteranopia (green-blind)
#41547D
Tritanopia (blue-blind)
#006467
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d5b7e;
/* rgb */ color: rgb(45, 91, 126);
/* oklch */ color: oklch(45.5% 0.077 243.6);
Tailwind
colors: {
  custom: {
    50: '#6e89a3',
    500: '#2d5b7e',
    950: '#000000',
  },
}
SCSS
$custom: #2d5b7e;
$custom-light: #6e89a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5b7e",
  "rgb": {
    "r": 45,
    "g": 91,
    "b": 126
  },
  "hsl": {
    "h": 205.926,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45492,
    "c": 0.07653,
    "h": 243.6
  },
  "luminance": 0.09546
}

Semantic roles & 50–950 ramp

primary
#2D5B7E
secondary
#AC7E5A
accent
#8B51D7
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2D5B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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