#2D7FB6#2D7FB6

#2D7FB6 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.3% C 0.115 H 242.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2D7FB6
RGBrgb(45, 127, 182)
HSLhsl(204, 60%, 45%)
HSVhsv(204, 75%, 71%)
CMYKcmyk(75.3%, 30.2%, 0%, 28.6%)
CIE-LABlab(50.82, -5.68, -35.98)
CIE-LCHlch(50.82, 36.43, 261.03°)
OKLaboklab(57.29% -0.0533 -0.1019)
OKLCHoklch(57.29% 0.115 242.4)
XYZxyz(17.1118, 19.1120, 47.0340)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7FB6 #B6642D
analogous
#2DB6A9 #2D7FB6 #2D3AB6
triadic
#2D7FB6 #B62D7F #7FB62D
tetradic
#2D7FB6 #A92DB6 #B6642D #3AB62D
square
#2D7FB6 #A92DB6 #B6642D #3AB62D
split-complementary
#2D7FB6 #B62D3A #B6A92D
monochromatic
#153B54 #215D85 #2D7FB6 #4D9DD3 #7EB8DF

Accessibility & contrast

On white

4.35
#2D7FB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#2D7FB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7FB6
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7FB6#FFFFFF#000000##000000
##2D7FB61.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6680B8
Deuteranopia (green-blind)
#5373B5
Tritanopia (blue-blind)
#008D92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d7fb6;
/* rgb */ color: rgb(45, 127, 182);
/* oklch */ color: oklch(57.3% 0.115 242.4);
Tailwind
colors: {
  custom: {
    50: '#79a3cc',
    500: '#2d7fb6',
    950: '#000000',
  },
}
SCSS
$custom: #2d7fb6;
$custom-light: #79a3cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7fb6",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 182
  },
  "hsl": {
    "h": 204.088,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57293,
    "c": 0.11499,
    "h": 242.4
  },
  "luminance": 0.19114
}

Semantic roles & 50–950 ramp

primary
#2D7FB6
secondary
#C89777
accent
#8444E3
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2D7FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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