#2D6887#2D6887

#2D6887 is a mid, moderate cyan. Relative luminance 0.122; OKLCH L 49.2% C 0.079 H 234.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2D6887
RGBrgb(45, 104, 135)
HSLhsl(201, 50%, 35%)
HSVhsv(201, 67%, 53%)
CMYKcmyk(66.7%, 23%, 0%, 47.1%)
CIE-LABlab(41.54, -8.85, -22.81)
CIE-LCHlch(41.54, 24.46, 248.79°)
OKLaboklab(49.22% -0.0456 -0.0639)
OKLCHoklch(49.22% 0.079 234.5)
XYZxyz(10.4040, 12.2067, 24.7248)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6887 #874C2D
analogous
#2D8779 #2D6887 #2D3B87
triadic
#2D6887 #872D68 #68872D
tetradic
#2D6887 #792D87 #874C2D #3B872D
square
#2D6887 #792D87 #874C2D #3B872D
split-complementary
#2D6887 #872D3B #87792D
monochromatic
#0E212B #1E4559 #2D6887 #3C8BB5 #63A7CB

Accessibility & contrast

On white

6.10
#2D6887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2D6887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6887
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6887#FFFFFF#000000##FFFFFF
##2D68871.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596788
Deuteranopia (green-blind)
#4D5E87
Tritanopia (blue-blind)
#007072
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d6887;
/* rgb */ color: rgb(45, 104, 135);
/* oklch */ color: oklch(49.2% 0.079 234.5);
Tailwind
colors: {
  custom: {
    50: '#7093aa',
    500: '#2d6887',
    950: '#000000',
  },
}
SCSS
$custom: #2d6887;
$custom-light: #7093aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6887",
  "rgb": {
    "r": 45,
    "g": 104,
    "b": 135
  },
  "hsl": {
    "h": 200.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.49218,
    "c": 0.07855,
    "h": 234.5
  },
  "luminance": 0.12208
}

Semantic roles & 50–950 ramp

primary
#2D6887
secondary
#B27B5E
accent
#7E4EDA
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2D6887

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

Preview Lab → · Contrast checker → · Palette generator →

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