#2D6EC8#2D6EC8

#2D6EC8 is a mid, vivid cyan. Relative luminance 0.159; OKLCH L 54.5% C 0.155 H 257.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2D6EC8
RGBrgb(45, 110, 200)
HSLhsl(215, 63%, 48%)
HSVhsv(215, 78%, 78%)
CMYKcmyk(77.5%, 45%, 0%, 21.6%)
CIE-LABlab(46.81, 11.40, -52.70)
CIE-LCHlch(46.81, 53.92, 282.21°)
OKLaboklab(54.48% -0.0336 -0.1511)
OKLCHoklch(54.48% 0.155 257.5)
XYZxyz(17.0796, 15.8779, 56.7970)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6EC8 #C8872D
analogous
#2DBBC8 #2D6EC8 #3A2DC8
triadic
#2D6EC8 #C82D6E #6EC82D
tetradic
#2D6EC8 #C82DBB #C8872D #2DC83A
square
#2D6EC8 #C82DBB #C8872D #2DC83A
split-complementary
#2D6EC8 #C83A2D #BBC82D
monochromatic
#173764 #225396 #2D6EC8 #598FDA #8BB0E5

Accessibility & contrast

On white

5.03
#2D6EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2D6EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6EC8
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6EC8#FFFFFF#000000##FFFFFF
##2D6EC81.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F77CB
Deuteranopia (green-blind)
#1D68C6
Tritanopia (blue-blind)
#008391
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d6ec8;
/* rgb */ color: rgb(45, 110, 200);
/* oklch */ color: oklch(54.5% 0.155 257.5);
Tailwind
colors: {
  custom: {
    50: '#7c97d9',
    500: '#2d6ec8',
    950: '#000000',
  },
}
SCSS
$custom: #2d6ec8;
$custom-light: #7c97d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6ec8",
  "rgb": {
    "r": 45,
    "g": 110,
    "b": 200
  },
  "hsl": {
    "h": 214.839,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54479,
    "c": 0.15479,
    "h": 257.5
  },
  "luminance": 0.1588
}

Semantic roles & 50–950 ramp

primary
#2D6EC8
secondary
#CFAF82
accent
#A141E6
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2D6EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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