#2D6CB4#2D6CB4

#2D6CB4 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.7% C 0.131 H 254.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2D6CB4
RGBrgb(45, 108, 180)
HSLhsl(212, 60%, 44%)
HSVhsv(212, 75%, 71%)
CMYKcmyk(75%, 40%, 0%, 29.4%)
CIE-LABlab(45.05, 5.12, -43.95)
CIE-LCHlch(45.05, 44.25, 276.65°)
OKLaboklab(52.73% -0.036 -0.1254)
OKLCHoklch(52.73% 0.131 254)
XYZxyz(14.6799, 14.5766, 45.2111)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6CB4 #B4752D
analogous
#2DB0B4 #2D6CB4 #322DB4
triadic
#2D6CB4 #B42D6C #6CB42D
tetradic
#2D6CB4 #B42DB0 #B4752D #2DB432
square
#2D6CB4 #B42DB0 #B4752D #2DB432
split-complementary
#2D6CB4 #B4322D #B0B42D
monochromatic
#153152 #214F83 #2D6CB4 #4C8BD2 #7DAADE

Accessibility & contrast

On white

5.36
#2D6CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2D6CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6CB4
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6CB4#FFFFFF#000000##FFFFFF
##2D6CB41.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A71B7
Deuteranopia (green-blind)
#3465B3
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d6cb4;
/* rgb */ color: rgb(45, 108, 180);
/* oklch */ color: oklch(52.7% 0.131 254.0);
Tailwind
colors: {
  custom: {
    50: '#7895cb',
    500: '#2d6cb4',
    950: '#000000',
  },
}
SCSS
$custom: #2d6cb4;
$custom-light: #7895cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6cb4",
  "rgb": {
    "r": 45,
    "g": 108,
    "b": 180
  },
  "hsl": {
    "h": 212,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52726,
    "c": 0.13052,
    "h": 254
  },
  "luminance": 0.14578
}

Semantic roles & 50–950 ramp

primary
#2D6CB4
secondary
#C7A176
accent
#9945E3
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D6CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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