#2D6CB5#2D6CB5

#2D6CB5 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.8% C 0.132 H 254.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2D6CB5
RGBrgb(45, 108, 181)
HSLhsl(212, 60%, 44%)
HSVhsv(212, 75%, 71%)
CMYKcmyk(75.1%, 40.3%, 0%, 29%)
CIE-LABlab(45.11, 5.50, -44.44)
CIE-LCHlch(45.11, 44.78, 277.05°)
OKLaboklab(52.79% -0.0358 -0.1269)
OKLCHoklch(52.79% 0.132 254.2)
XYZxyz(14.7821, 14.6175, 45.7495)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6CB5 #B5762D
analogous
#2DB0B5 #2D6CB5 #322DB5
triadic
#2D6CB5 #B52D6C #6CB52D
tetradic
#2D6CB5 #B52DB0 #B5762D #2DB532
square
#2D6CB5 #B52DB0 #B5762D #2DB532
split-complementary
#2D6CB5 #B5322D #B0B52D
monochromatic
#153253 #214F84 #2D6CB5 #4D8BD3 #7EABDF

Accessibility & contrast

On white

5.35
#2D6CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D6CB5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6CB5#FFFFFF#000000##FFFFFF
##2D6CB51.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4972B8
Deuteranopia (green-blind)
#3365B4
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d6cb5;
/* rgb */ color: rgb(45, 108, 181);
/* oklch */ color: oklch(52.8% 0.132 254.2);
Tailwind
colors: {
  custom: {
    50: '#7995cb',
    500: '#2d6cb5',
    950: '#000000',
  },
}
SCSS
$custom: #2d6cb5;
$custom-light: #7995cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6cb5",
  "rgb": {
    "r": 45,
    "g": 108,
    "b": 181
  },
  "hsl": {
    "h": 212.206,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52789,
    "c": 0.13184,
    "h": 254.2
  },
  "luminance": 0.14619
}

Semantic roles & 50–950 ramp

primary
#2D6CB5
secondary
#C7A276
accent
#9A44E3
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D6CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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