#2D7FD2#2D7FD2

#2D7FD2 is a mid, vivid cyan. Relative luminance 0.204; OKLCH L 58.9% C 0.149 H 252.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2D7FD2
RGBrgb(45, 127, 210)
HSLhsl(210, 65%, 50%)
HSVhsv(210, 79%, 82%)
CMYKcmyk(78.6%, 39.5%, 0%, 17.6%)
CIE-LABlab(52.27, 4.60, -49.67)
CIE-LCHlch(52.27, 49.88, 275.29°)
OKLaboklab(58.91% -0.0457 -0.1419)
OKLCHoklch(58.91% 0.149 252.2)
XYZxyz(20.3000, 20.3873, 63.8255)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7FD2 #D2802D
analogous
#2DD1D2 #2D7FD2 #2E2DD2
triadic
#2D7FD2 #D22D7F #7FD22D
tetradic
#2D7FD2 #D22DD1 #D2802D #2DD22E
square
#2D7FD2 #D22DD1 #D2802D #2DD22E
split-complementary
#2D7FD2 #D22E2D #D1D22D
monochromatic
#17426D #2261A0 #2D7FD2 #5F9EDD #92BCE8

Accessibility & contrast

On white

4.14
#2D7FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#2D7FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7FD2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7FD2#FFFFFF#000000##000000
##2D7FD21.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5785D5
Deuteranopia (green-blind)
#3C76D0
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2d7fd2;
/* rgb */ color: rgb(45, 127, 210);
/* oklch */ color: oklch(58.9% 0.149 252.2);
Tailwind
colors: {
  custom: {
    50: '#7ea3e0',
    500: '#2d7fd2',
    950: '#000000',
  },
}
SCSS
$custom: #2d7fd2;
$custom-light: #7ea3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7fd2",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 210.182,
    "s": 64.706,
    "l": 50
  },
  "oklch": {
    "l": 0.5891,
    "c": 0.14907,
    "h": 252.2
  },
  "luminance": 0.2039
}

Semantic roles & 50–950 ramp

primary
#2D7FD2
secondary
#D2AE88
accent
#9440E8
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #2D7FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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