#2D6EC3#2D6EC3

#2D6EC3 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.1% C 0.148 H 256.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2D6EC3
RGBrgb(45, 110, 195)
HSLhsl(214, 63%, 47%)
HSVhsv(214, 77%, 76%)
CMYKcmyk(76.9%, 43.6%, 0%, 23.5%)
CIE-LABlab(46.51, 9.51, -50.31)
CIE-LCHlch(46.51, 51.20, 280.71°)
OKLaboklab(54.15% -0.0345 -0.1441)
OKLCHoklch(54.15% 0.148 256.5)
XYZxyz(16.5048, 15.6480, 53.7697)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6EC3 #C3822D
analogous
#2DB9C3 #2D6EC3 #372DC3
triadic
#2D6EC3 #C32D6E #6EC32D
tetradic
#2D6EC3 #C32DB9 #C3822D #2DC337
square
#2D6EC3 #C32DB9 #C3822D #2DC337
split-complementary
#2D6EC3 #C3372D #B9C32D
monochromatic
#163660 #225291 #2D6EC3 #558ED8 #87AFE3

Accessibility & contrast

On white

5.08
#2D6EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2D6EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6EC3
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6EC3#FFFFFF#000000##FFFFFF
##2D6EC31.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4376C6
Deuteranopia (green-blind)
#2668C1
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d6ec3;
/* rgb */ color: rgb(45, 110, 195);
/* oklch */ color: oklch(54.1% 0.148 256.5);
Tailwind
colors: {
  custom: {
    50: '#7b97d6',
    500: '#2d6ec3',
    950: '#000000',
  },
}
SCSS
$custom: #2d6ec3;
$custom-light: #7b97d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6ec3",
  "rgb": {
    "r": 45,
    "g": 110,
    "b": 195
  },
  "hsl": {
    "h": 214,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54145,
    "c": 0.14817,
    "h": 256.5
  },
  "luminance": 0.1565
}

Semantic roles & 50–950 ramp

primary
#2D6EC3
secondary
#CDAB7F
accent
#9F42E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2D6EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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