#2D7BC7#2D7BC7

#2D7BC7 is a mid, vivid cyan. Relative luminance 0.188; OKLCH L 57.3% C 0.139 H 251.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2D7BC7
RGBrgb(45, 123, 199)
HSLhsl(210, 63%, 48%)
HSVhsv(210, 77%, 78%)
CMYKcmyk(77.4%, 38.2%, 0%, 22%)
CIE-LABlab(50.51, 2.95, -46.23)
CIE-LCHlch(50.51, 46.32, 273.65°)
OKLaboklab(57.33% -0.0449 -0.1319)
OKLCHoklch(57.33% 0.139 251.2)
XYZxyz(18.4701, 18.8451, 56.6858)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7BC7 #C7792D
analogous
#2DC7C6 #2D7BC7 #2D2EC7
triadic
#2D7BC7 #C72D7B #7BC72D
tetradic
#2D7BC7 #C62DC7 #C7792D #2EC72D
square
#2D7BC7 #C62DC7 #C7792D #2EC72D
split-complementary
#2D7BC7 #C72D2E #C7C62D
monochromatic
#163D63 #225C95 #2D7BC7 #5899D9 #8AB8E5

Accessibility & contrast

On white

4.40
#2D7BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2D7BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7BC7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7BC7#FFFFFF#000000##000000
##2D7BC71.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CA
Deuteranopia (green-blind)
#3F72C6
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d7bc7;
/* rgb */ color: rgb(45, 123, 199);
/* oklch */ color: oklch(57.3% 0.139 251.2);
Tailwind
colors: {
  custom: {
    50: '#7ca0d8',
    500: '#2d7bc7',
    950: '#000000',
  },
}
SCSS
$custom: #2d7bc7;
$custom-light: #7ca0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7bc7",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 209.61,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57332,
    "c": 0.13929,
    "h": 251.2
  },
  "luminance": 0.18847
}

Semantic roles & 50–950 ramp

primary
#2D7BC7
secondary
#CEA781
accent
#9342E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2D7BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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