#2D6AB1#2D6AB1

#2D6AB1 is a mid, vivid cyan. Relative luminance 0.140; OKLCH L 52.1% C 0.129 H 254.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#2D6AB1
RGBrgb(45, 106, 177)
HSLhsl(212, 59%, 44%)
HSVhsv(212, 75%, 69%)
CMYKcmyk(74.6%, 40.1%, 0%, 30.6%)
CIE-LABlab(44.29, 5.25, -43.41)
CIE-LCHlch(44.29, 43.73, 276.90°)
OKLaboklab(52.08% -0.0349 -0.1239)
OKLCHoklch(52.08% 0.129 254.3)
XYZxyz(14.1691, 14.0387, 43.5494)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6AB1 #B1742D
analogous
#2DACB1 #2D6AB1 #322DB1
triadic
#2D6AB1 #B12D6A #6AB12D
tetradic
#2D6AB1 #B12DAC #B1742D #2DB132
square
#2D6AB1 #B12DAC #B1742D #2DB132
split-complementary
#2D6AB1 #B1322D #ACB12D
monochromatic
#14304F #214D80 #2D6AB1 #4A88D1 #7BA8DD

Accessibility & contrast

On white

5.51
#2D6AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#2D6AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6AB1
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6AB1#FFFFFF#000000##FFFFFF
##2D6AB11.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486FB4
Deuteranopia (green-blind)
#3363B0
Tritanopia (blue-blind)
#007B85
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2d6ab1;
/* rgb */ color: rgb(45, 106, 177);
/* oklch */ color: oklch(52.1% 0.129 254.3);
Tailwind
colors: {
  custom: {
    50: '#7894c9',
    500: '#2d6ab1',
    950: '#000000',
  },
}
SCSS
$custom: #2d6ab1;
$custom-light: #7894c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6ab1",
  "rgb": {
    "r": 45,
    "g": 106,
    "b": 177
  },
  "hsl": {
    "h": 212.273,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52078,
    "c": 0.12872,
    "h": 254.3
  },
  "luminance": 0.1404
}

Semantic roles & 50–950 ramp

primary
#2D6AB1
secondary
#C6A074
accent
#9A45E3
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D6AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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