#2D6CB6#2D6CB6

#2D6CB6 is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 52.9% C 0.133 H 254.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2D6CB6
RGBrgb(45, 108, 182)
HSLhsl(212, 60%, 45%)
HSVhsv(212, 75%, 71%)
CMYKcmyk(75.3%, 40.7%, 0%, 28.6%)
CIE-LABlab(45.16, 5.88, -44.93)
CIE-LCHlch(45.16, 45.32, 277.45°)
OKLaboklab(52.85% -0.0356 -0.1283)
OKLCHoklch(52.85% 0.133 254.5)
XYZxyz(14.8851, 14.6587, 46.2918)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6CB6 #B6772D
analogous
#2DB0B6 #2D6CB6 #332DB6
triadic
#2D6CB6 #B62D6C #6CB62D
tetradic
#2D6CB6 #B62DB0 #B6772D #2DB633
square
#2D6CB6 #B62DB0 #B6772D #2DB633
split-complementary
#2D6CB6 #B6332D #B0B62D
monochromatic
#153254 #214F85 #2D6CB6 #4D8BD3 #7EABDF

Accessibility & contrast

On white

5.34
#2D6CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2D6CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6CB6
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6CB6#FFFFFF#000000##FFFFFF
##2D6CB61.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4972B9
Deuteranopia (green-blind)
#3265B5
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d6cb6;
/* rgb */ color: rgb(45, 108, 182);
/* oklch */ color: oklch(52.9% 0.133 254.5);
Tailwind
colors: {
  custom: {
    50: '#7995cc',
    500: '#2d6cb6',
    950: '#000000',
  },
}
SCSS
$custom: #2d6cb6;
$custom-light: #7995cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6cb6",
  "rgb": {
    "r": 45,
    "g": 108,
    "b": 182
  },
  "hsl": {
    "h": 212.409,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52852,
    "c": 0.13317,
    "h": 254.5
  },
  "luminance": 0.1466
}

Semantic roles & 50–950 ramp

primary
#2D6CB6
secondary
#C8A377
accent
#9A44E3
background
#F7F9FC
surface
#EEF1F9
border
#C9CBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D6CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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