#2D6EB8#2D6EB8

#2D6EB8 is a mid, vivid cyan. Relative luminance 0.152; OKLCH L 53.4% C 0.134 H 254.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2D6EB8
RGBrgb(45, 110, 184)
HSLhsl(212, 61%, 45%)
HSVhsv(212, 76%, 72%)
CMYKcmyk(75.5%, 40.2%, 0%, 27.8%)
CIE-LABlab(45.86, 5.37, -44.98)
CIE-LCHlch(45.86, 45.30, 276.81°)
OKLaboklab(53.44% -0.0369 -0.1284)
OKLCHoklch(53.44% 0.134 254)
XYZxyz(15.3066, 15.1687, 47.4592)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6EB8 #B8772D
analogous
#2DB4B8 #2D6EB8 #312DB8
triadic
#2D6EB8 #B82D6E #6EB82D
tetradic
#2D6EB8 #B82DB4 #B8772D #2DB831
square
#2D6EB8 #B82DB4 #B8772D #2DB831
split-complementary
#2D6EB8 #B8312D #B4B82D
monochromatic
#153356 #215187 #2D6EB8 #4E8DD4 #80ADE0

Accessibility & contrast

On white

5.21
#2D6EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2D6EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6EB8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6EB8#FFFFFF#000000##FFFFFF
##2D6EB81.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B74BB
Deuteranopia (green-blind)
#3467B7
Tritanopia (blue-blind)
#007F8A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d6eb8;
/* rgb */ color: rgb(45, 110, 184);
/* oklch */ color: oklch(53.4% 0.134 254.0);
Tailwind
colors: {
  custom: {
    50: '#7997ce',
    500: '#2d6eb8',
    950: '#000000',
  },
}
SCSS
$custom: #2d6eb8;
$custom-light: #7997ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6eb8",
  "rgb": {
    "r": 45,
    "g": 110,
    "b": 184
  },
  "hsl": {
    "h": 211.942,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53436,
    "c": 0.13363,
    "h": 254
  },
  "luminance": 0.1517
}

Semantic roles & 50–950 ramp

primary
#2D6EB8
secondary
#C9A378
accent
#9944E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D6EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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