#2D6A8E#2D6A8E

#2D6A8E is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.1% C 0.085 H 237.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2D6A8E
RGBrgb(45, 106, 142)
HSLhsl(202, 52%, 37%)
HSVhsv(202, 68%, 56%)
CMYKcmyk(68.3%, 25.4%, 0%, 44.3%)
CIE-LABlab(42.49, -7.58, -25.54)
CIE-LCHlch(42.49, 26.64, 253.47°)
OKLaboklab(50.07% -0.0453 -0.0718)
OKLCHoklch(50.07% 0.085 237.8)
XYZxyz(11.1168, 12.8178, 27.4741)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6A8E #8E512D
analogous
#2D8E82 #2D6A8E #2D3A8E
triadic
#2D6A8E #8E2D6A #6A8E2D
tetradic
#2D6A8E #822D8E #8E512D #3A8E2D
square
#2D6A8E #822D8E #8E512D #3A8E2D
split-complementary
#2D6A8E #8E2D3A #8E822D
monochromatic
#102531 #1E4760 #2D6A8E #3C8DBC #67A8CF

Accessibility & contrast

On white

5.89
#2D6A8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2D6A8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6A8E
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6A8E#FFFFFF#000000##FFFFFF
##2D6A8E1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596A90
Deuteranopia (green-blind)
#4C608D
Tritanopia (blue-blind)
#007376
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d6a8e;
/* rgb */ color: rgb(45, 106, 142);
/* oklch */ color: oklch(50.1% 0.085 237.8);
Tailwind
colors: {
  custom: {
    50: '#7194af',
    500: '#2d6a8e',
    950: '#000000',
  },
}
SCSS
$custom: #2d6a8e;
$custom-light: #7194af;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6a8e",
  "rgb": {
    "r": 45,
    "g": 106,
    "b": 142
  },
  "hsl": {
    "h": 202.268,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.50072,
    "c": 0.08489,
    "h": 237.8
  },
  "luminance": 0.12819
}

Semantic roles & 50–950 ramp

primary
#2D6A8E
secondary
#B58161
accent
#814CDB
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2D6A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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