#2D6DB8#2D6DB8

#2D6DB8 is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.2% C 0.135 H 254.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2D6DB8
RGBrgb(45, 109, 184)
HSLhsl(212, 61%, 45%)
HSVhsv(212, 76%, 72%)
CMYKcmyk(75.5%, 40.8%, 0%, 27.8%)
CIE-LABlab(45.57, 6.00, -45.45)
CIE-LCHlch(45.57, 45.84, 277.52°)
OKLaboklab(53.21% -0.036 -0.1298)
OKLCHoklch(53.21% 0.135 254.5)
XYZxyz(15.1993, 14.9541, 47.4235)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6DB8 #B8782D
analogous
#2DB3B8 #2D6DB8 #322DB8
triadic
#2D6DB8 #B82D6D #6DB82D
tetradic
#2D6DB8 #B82DB3 #B8782D #2DB832
square
#2D6DB8 #B82DB3 #B8782D #2DB832
split-complementary
#2D6DB8 #B8322D #B3B82D
monochromatic
#153356 #215087 #2D6DB8 #4E8CD4 #80ACE0

Accessibility & contrast

On white

5.26
#2D6DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2D6DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6DB8
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6DB8#FFFFFF#000000##FFFFFF
##2D6DB81.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4973BB
Deuteranopia (green-blind)
#3266B7
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d6db8;
/* rgb */ color: rgb(45, 109, 184);
/* oklch */ color: oklch(53.2% 0.135 254.5);
Tailwind
colors: {
  custom: {
    50: '#7996ce',
    500: '#2d6db8',
    950: '#000000',
  },
}
SCSS
$custom: #2d6db8;
$custom-light: #7996ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6db8",
  "rgb": {
    "r": 45,
    "g": 109,
    "b": 184
  },
  "hsl": {
    "h": 212.374,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53207,
    "c": 0.13472,
    "h": 254.5
  },
  "luminance": 0.14956
}

Semantic roles & 50–950 ramp

primary
#2D6DB8
secondary
#C9A478
accent
#9A44E4
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D6DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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