#2D7ED2#2D7ED2

#2D7ED2 is a mid, vivid cyan. Relative luminance 0.201; OKLCH L 58.7% C 0.150 H 252.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2D7ED2
RGBrgb(45, 126, 210)
HSLhsl(211, 65%, 50%)
HSVhsv(211, 79%, 82%)
CMYKcmyk(78.6%, 40%, 0%, 17.6%)
CIE-LABlab(51.98, 5.21, -50.13)
CIE-LCHlch(51.98, 50.40, 275.93°)
OKLaboklab(58.69% -0.0448 -0.1433)
OKLCHoklch(58.69% 0.15 252.6)
XYZxyz(20.1715, 20.1303, 63.7827)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7ED2 #D2812D
analogous
#2DD1D2 #2D7ED2 #2E2DD2
triadic
#2D7ED2 #D22D7E #7ED22D
tetradic
#2D7ED2 #D22DD1 #D2812D #2DD22E
square
#2D7ED2 #D22DD1 #D2812D #2DD22E
split-complementary
#2D7ED2 #D22E2D #D1D22D
monochromatic
#17426D #2260A0 #2D7ED2 #5F9DDD #92BCE8

Accessibility & contrast

On white

4.18
#2D7ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#2D7ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7ED2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7ED2#FFFFFF#000000##000000
##2D7ED21.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5584D5
Deuteranopia (green-blind)
#3A75D0
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d7ed2;
/* rgb */ color: rgb(45, 126, 210);
/* oklch */ color: oklch(58.7% 0.150 252.6);
Tailwind
colors: {
  custom: {
    50: '#7ea2e0',
    500: '#2d7ed2',
    950: '#000000',
  },
}
SCSS
$custom: #2d7ed2;
$custom-light: #7ea2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7ed2",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 210
  },
  "hsl": {
    "h": 210.545,
    "s": 64.706,
    "l": 50
  },
  "oklch": {
    "l": 0.58686,
    "c": 0.15012,
    "h": 252.6
  },
  "luminance": 0.20133
}

Semantic roles & 50–950 ramp

primary
#2D7ED2
secondary
#D2AE88
accent
#9540E8
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #2D7ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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