#2D7FC9#2D7FC9

#2D7FC9 is a mid, vivid cyan. Relative luminance 0.200; OKLCH L 58.4% C 0.138 H 249.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2D7FC9
RGBrgb(45, 127, 201)
HSLhsl(208, 63%, 48%)
HSVhsv(208, 78%, 79%)
CMYKcmyk(77.6%, 36.8%, 0%, 21.2%)
CIE-LABlab(51.78, 1.26, -45.34)
CIE-LCHlch(51.78, 45.36, 271.60°)
OKLaboklab(58.37% -0.0479 -0.1292)
OKLCHoklch(58.37% 0.138 249.7)
XYZxyz(19.2102, 19.9514, 58.0856)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7FC9 #C9772D
analogous
#2DC9C5 #2D7FC9 #2D31C9
triadic
#2D7FC9 #C92D7F #7FC92D
tetradic
#2D7FC9 #C52DC9 #C9772D #31C92D
square
#2D7FC9 #C52DC9 #C9772D #31C92D
split-complementary
#2D7FC9 #C92D31 #C9C52D
monochromatic
#174065 #225F97 #2D7FC9 #599DDA #8BBBE5

Accessibility & contrast

On white

4.21
#2D7FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#2D7FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7FC9
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7FC9#FFFFFF#000000##000000
##2D7FC91.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CC
Deuteranopia (green-blind)
#4575C8
Tritanopia (blue-blind)
#00919A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d7fc9;
/* rgb */ color: rgb(45, 127, 201);
/* oklch */ color: oklch(58.4% 0.138 249.7);
Tailwind
colors: {
  custom: {
    50: '#7da3da',
    500: '#2d7fc9',
    950: '#000000',
  },
}
SCSS
$custom: #2d7fc9;
$custom-light: #7da3da;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7fc9",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 201
  },
  "hsl": {
    "h": 208.462,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58367,
    "c": 0.13779,
    "h": 249.7
  },
  "luminance": 0.19954
}

Semantic roles & 50–950 ramp

primary
#2D7FC9
secondary
#CFA783
accent
#9041E6
background
#F8FAFD
surface
#EFF3FA
border
#CACDD3
text
#0B0F15
muted
#7C7F83

Preview Lab

Preview with #2D7FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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