#2D6CB1#2D6CB1

#2D6CB1 is a mid, vivid cyan. Relative luminance 0.145; OKLCH L 52.5% C 0.127 H 253.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2D6CB1
RGBrgb(45, 108, 177)
HSLhsl(211, 59%, 44%)
HSVhsv(211, 75%, 69%)
CMYKcmyk(74.6%, 39%, 0%, 30.6%)
CIE-LABlab(44.88, 4.00, -42.47)
CIE-LCHlch(44.88, 42.66, 275.38°)
OKLaboklab(52.54% -0.0367 -0.1211)
OKLCHoklch(52.54% 0.127 253.1)
XYZxyz(14.3776, 14.4557, 43.6189)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6CB1 #B1722D
analogous
#2DAEB1 #2D6CB1 #302DB1
triadic
#2D6CB1 #B12D6C #6CB12D
tetradic
#2D6CB1 #B12DAE #B1722D #2DB130
square
#2D6CB1 #B12DAE #B1722D #2DB130
split-complementary
#2D6CB1 #B1302D #AEB12D
monochromatic
#14304F #214E80 #2D6CB1 #4A8BD1 #7BAADD

Accessibility & contrast

On white

5.40
#2D6CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2D6CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6CB1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6CB1#FFFFFF#000000##FFFFFF
##2D6CB11.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C71B4
Deuteranopia (green-blind)
#3765B0
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d6cb1;
/* rgb */ color: rgb(45, 108, 177);
/* oklch */ color: oklch(52.5% 0.127 253.1);
Tailwind
colors: {
  custom: {
    50: '#7895c9',
    500: '#2d6cb1',
    950: '#000000',
  },
}
SCSS
$custom: #2d6cb1;
$custom-light: #7895c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6cb1",
  "rgb": {
    "r": 45,
    "g": 108,
    "b": 177
  },
  "hsl": {
    "h": 211.364,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52539,
    "c": 0.12656,
    "h": 253.1
  },
  "luminance": 0.14457
}

Semantic roles & 50–950 ramp

primary
#2D6CB1
secondary
#C69F74
accent
#9745E3
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D6CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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