#2D6DB2#2D6DB2

#2D6DB2 is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 52.8% C 0.127 H 252.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2D6DB2
RGBrgb(45, 109, 178)
HSLhsl(211, 60%, 44%)
HSVhsv(211, 75%, 70%)
CMYKcmyk(74.7%, 38.8%, 0%, 30.2%)
CIE-LABlab(45.23, 3.75, -42.49)
CIE-LCHlch(45.23, 42.66, 275.04°)
OKLaboklab(52.83% -0.0374 -0.1212)
OKLCHoklch(52.83% 0.127 252.8)
XYZxyz(14.5837, 14.7079, 44.1811)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6DB2 #B2722D
analogous
#2DAFB2 #2D6DB2 #302DB2
triadic
#2D6DB2 #B22D6D #6DB22D
tetradic
#2D6DB2 #B22DAF #B2722D #2DB230
square
#2D6DB2 #B22DAF #B2722D #2DB230
split-complementary
#2D6DB2 #B2302D #AFB22D
monochromatic
#143150 #214F81 #2D6DB2 #4B8CD1 #7CABDE

Accessibility & contrast

On white

5.33
#2D6DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2D6DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6DB2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6DB2#FFFFFF#000000##FFFFFF
##2D6DB21.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B5
Deuteranopia (green-blind)
#3865B1
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d6db2;
/* rgb */ color: rgb(45, 109, 178);
/* oklch */ color: oklch(52.8% 0.127 252.8);
Tailwind
colors: {
  custom: {
    50: '#7896c9',
    500: '#2d6db2',
    950: '#000000',
  },
}
SCSS
$custom: #2d6db2;
$custom-light: #7896c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6db2",
  "rgb": {
    "r": 45,
    "g": 109,
    "b": 178
  },
  "hsl": {
    "h": 211.128,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52832,
    "c": 0.12681,
    "h": 252.8
  },
  "luminance": 0.1471
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D6DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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