#2D6DC2#2D6DC2

#2D6DC2 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.9% C 0.148 H 256.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2D6DC2
RGBrgb(45, 109, 194)
HSLhsl(214, 62%, 47%)
HSVhsv(214, 77%, 76%)
CMYKcmyk(76.8%, 43.8%, 0%, 23.9%)
CIE-LABlab(46.16, 9.77, -50.29)
CIE-LCHlch(46.16, 51.23, 280.99°)
OKLaboklab(53.86% -0.0339 -0.144)
OKLCHoklch(53.86% 0.148 256.8)
XYZxyz(16.2848, 15.3883, 53.1404)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6DC2 #C2822D
analogous
#2DB8C2 #2D6DC2 #372DC2
triadic
#2D6DC2 #C22D6D #6DC22D
tetradic
#2D6DC2 #C22DB8 #C2822D #2DC237
square
#2D6DC2 #C22DB8 #C2822D #2DC237
split-complementary
#2D6DC2 #C2372D #B8C22D
monochromatic
#16355F #215190 #2D6DC2 #558DD7 #86AEE3

Accessibility & contrast

On white

5.15
#2D6DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2D6DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6DC2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6DC2#FFFFFF#000000##FFFFFF
##2D6DC21.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4275C5
Deuteranopia (green-blind)
#2567C0
Tritanopia (blue-blind)
#00818E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d6dc2;
/* rgb */ color: rgb(45, 109, 194);
/* oklch */ color: oklch(53.9% 0.148 256.8);
Tailwind
colors: {
  custom: {
    50: '#7b96d5',
    500: '#2d6dc2',
    950: '#000000',
  },
}
SCSS
$custom: #2d6dc2;
$custom-light: #7b96d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6dc2",
  "rgb": {
    "r": 45,
    "g": 109,
    "b": 194
  },
  "hsl": {
    "h": 214.228,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53857,
    "c": 0.14798,
    "h": 256.8
  },
  "luminance": 0.1539
}

Semantic roles & 50–950 ramp

primary
#2D6DC2
secondary
#CDAB7E
accent
#9F42E5
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2D6DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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