#2D7EC7#2D7EC7

#2D7EC7 is a mid, vivid cyan. Relative luminance 0.196; OKLCH L 58.0% C 0.136 H 249.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2D7EC7
RGBrgb(45, 126, 199)
HSLhsl(208, 63%, 48%)
HSVhsv(208, 77%, 78%)
CMYKcmyk(77.4%, 36.7%, 0%, 22%)
CIE-LABlab(51.38, 1.13, -44.83)
CIE-LCHlch(51.38, 44.85, 271.44°)
OKLaboklab(58.02% -0.0475 -0.1277)
OKLCHoklch(58.02% 0.136 249.6)
XYZxyz(18.8479, 19.6009, 56.8117)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7EC7 #C7762D
analogous
#2DC7C3 #2D7EC7 #2D31C7
triadic
#2D7EC7 #C72D7E #7EC72D
tetradic
#2D7EC7 #C32DC7 #C7762D #31C72D
square
#2D7EC7 #C32DC7 #C7762D #31C72D
split-complementary
#2D7EC7 #C72D31 #C7C32D
monochromatic
#163F63 #225E95 #2D7EC7 #589CD9 #8ABAE5

Accessibility & contrast

On white

4.27
#2D7EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#2D7EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7EC7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7EC7#FFFFFF#000000##000000
##2D7EC71.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C82CA
Deuteranopia (green-blind)
#4574C6
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2d7ec7;
/* rgb */ color: rgb(45, 126, 199);
/* oklch */ color: oklch(58.0% 0.136 249.6);
Tailwind
colors: {
  custom: {
    50: '#7ca3d8',
    500: '#2d7ec7',
    950: '#000000',
  },
}
SCSS
$custom: #2d7ec7;
$custom-light: #7ca3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7ec7",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 199
  },
  "hsl": {
    "h": 208.442,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5802,
    "c": 0.13629,
    "h": 249.6
  },
  "luminance": 0.19603
}

Semantic roles & 50–950 ramp

primary
#2D7EC7
secondary
#CEA681
accent
#9042E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #2D7EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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