#2D7ECA#2D7ECA

#2D7ECA is a mid, vivid cyan. Relative luminance 0.197; OKLCH L 58.2% C 0.140 H 250.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2D7ECA
RGBrgb(45, 126, 202)
HSLhsl(209, 64%, 48%)
HSVhsv(209, 78%, 79%)
CMYKcmyk(77.7%, 37.6%, 0%, 20.8%)
CIE-LABlab(51.54, 2.24, -46.29)
CIE-LCHlch(51.54, 46.34, 272.77°)
OKLaboklab(58.2% -0.0467 -0.132)
OKLCHoklch(58.2% 0.14 250.5)
XYZxyz(19.1997, 19.7416, 58.6643)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7ECA #CA792D
analogous
#2DCAC7 #2D7ECA #2D2FCA
triadic
#2D7ECA #CA2D7E #7ECA2D
tetradic
#2D7ECA #C72DCA #CA792D #2FCA2D
square
#2D7ECA #C72DCA #CA792D #2FCA2D
split-complementary
#2D7ECA #CA2D2F #CAC72D
monochromatic
#174066 #225F98 #2D7ECA #5A9CDA #8CBAE5

Accessibility & contrast

On white

4.24
#2D7ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#2D7ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7ECA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7ECA#FFFFFF#000000##000000
##2D7ECA1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A83CD
Deuteranopia (green-blind)
#4274C9
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d7eca;
/* rgb */ color: rgb(45, 126, 202);
/* oklch */ color: oklch(58.2% 0.140 250.5);
Tailwind
colors: {
  custom: {
    50: '#7da2da',
    500: '#2d7eca',
    950: '#000000',
  },
}
SCSS
$custom: #2d7eca;
$custom-light: #7da2da;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7eca",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 209.045,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58198,
    "c": 0.14003,
    "h": 250.5
  },
  "luminance": 0.19744
}

Semantic roles & 50–950 ramp

primary
#2D7ECA
secondary
#CFA883
accent
#9141E7
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0F15
muted
#7C7E83

Preview Lab

Preview with #2D7ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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