#2D6987#2D6987

#2D6987 is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.5% C 0.078 H 233.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2D6987
RGBrgb(45, 105, 135)
HSLhsl(200, 50%, 35%)
HSVhsv(200, 67%, 53%)
CMYKcmyk(66.7%, 22.2%, 0%, 47.1%)
CIE-LABlab(41.86, -9.44, -22.32)
CIE-LCHlch(41.86, 24.23, 247.07°)
OKLaboklab(49.47% -0.0467 -0.0625)
OKLCHoklch(49.47% 0.078 233.2)
XYZxyz(10.5052, 12.4092, 24.7586)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6987 #874B2D
analogous
#2D8778 #2D6987 #2D3C87
triadic
#2D6987 #872D69 #69872D
tetradic
#2D6987 #782D87 #874B2D #3C872D
square
#2D6987 #782D87 #874B2D #3C872D
split-complementary
#2D6987 #872D3C #87782D
monochromatic
#0E222B #1E4559 #2D6987 #3C8DB5 #63A8CB

Accessibility & contrast

On white

6.03
#2D6987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2D6987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6987
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6987#FFFFFF#000000##FFFFFF
##2D69871.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6888
Deuteranopia (green-blind)
#4E5F87
Tritanopia (blue-blind)
#007173
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d6987;
/* rgb */ color: rgb(45, 105, 135);
/* oklch */ color: oklch(49.5% 0.078 233.2);
Tailwind
colors: {
  custom: {
    50: '#7093aa',
    500: '#2d6987',
    950: '#000000',
  },
}
SCSS
$custom: #2d6987;
$custom-light: #7093aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6987",
  "rgb": {
    "r": 45,
    "g": 105,
    "b": 135
  },
  "hsl": {
    "h": 200,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4947,
    "c": 0.07807,
    "h": 233.2
  },
  "luminance": 0.1241
}

Semantic roles & 50–950 ramp

primary
#2D6987
secondary
#B27A5E
accent
#7D4EDA
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2D6987

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

Preview Lab → · Contrast checker → · Palette generator →

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