#2D7FCA#2D7FCA

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

Color values

HEX#2D7FCA
RGBrgb(45, 127, 202)
HSLhsl(209, 64%, 48%)
HSVhsv(209, 78%, 79%)
CMYKcmyk(77.7%, 37.1%, 0%, 20.8%)
CIE-LABlab(51.84, 1.63, -45.82)
CIE-LCHlch(51.84, 45.85, 272.04°)
OKLaboklab(58.43% -0.0476 -0.1306)
OKLCHoklch(58.43% 0.139 250)
XYZxyz(19.3282, 19.9986, 58.7071)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7FCA #CA782D
analogous
#2DCAC6 #2D7FCA #2D31CA
triadic
#2D7FCA #CA2D7F #7FCA2D
tetradic
#2D7FCA #C62DCA #CA782D #31CA2D
square
#2D7FCA #C62DCA #CA782D #31CA2D
split-complementary
#2D7FCA #CA2D31 #CAC62D
monochromatic
#174066 #226098 #2D7FCA #5A9DDA #8CBBE5

Accessibility & contrast

On white

4.20
#2D7FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2D7FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7FCA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7FCA#FFFFFF#000000##000000
##2D7FCA1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CD
Deuteranopia (green-blind)
#4475C9
Tritanopia (blue-blind)
#00919B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d7fca;
/* rgb */ color: rgb(45, 127, 202);
/* oklch */ color: oklch(58.4% 0.139 250.0);
Tailwind
colors: {
  custom: {
    50: '#7da3da',
    500: '#2d7fca',
    950: '#000000',
  },
}
SCSS
$custom: #2d7fca;
$custom-light: #7da3da;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7fca",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 208.662,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58427,
    "c": 0.13903,
    "h": 250
  },
  "luminance": 0.20001
}

Semantic roles & 50–950 ramp

primary
#2D7FCA
secondary
#CFA883
accent
#9041E7
background
#F8FAFD
surface
#EFF3FB
border
#CACDD4
text
#0B0F15
muted
#7C7F83

Preview Lab

Preview with #2D7FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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