#2D7FB7#2D7FB7

#2D7FB7 is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.3% C 0.116 H 242.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2D7FB7
RGBrgb(45, 127, 183)
HSLhsl(204, 61%, 45%)
HSVhsv(204, 75%, 72%)
CMYKcmyk(75.4%, 30.6%, 0%, 28.2%)
CIE-LABlab(50.87, -5.32, -36.48)
CIE-LCHlch(50.87, 36.87, 261.71°)
OKLaboklab(57.35% -0.053 -0.1033)
OKLCHoklch(57.35% 0.116 242.8)
XYZxyz(17.2155, 19.1535, 47.5802)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7FB7 #B7652D
analogous
#2DB7AA #2D7FB7 #2D3AB7
triadic
#2D7FB7 #B72D7F #7FB72D
tetradic
#2D7FB7 #AA2DB7 #B7652D #3AB72D
square
#2D7FB7 #AA2DB7 #B7652D #3AB72D
split-complementary
#2D7FB7 #B72D3A #B7AA2D
monochromatic
#153B55 #215D86 #2D7FB7 #4E9DD3 #7FB8DF

Accessibility & contrast

On white

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

On black

4.83
#2D7FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7FB7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7FB7#FFFFFF#000000##000000
##2D7FB71.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6580B9
Deuteranopia (green-blind)
#5273B6
Tritanopia (blue-blind)
#008D93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d7fb7;
/* rgb */ color: rgb(45, 127, 183);
/* oklch */ color: oklch(57.3% 0.116 242.8);
Tailwind
colors: {
  custom: {
    50: '#79a3cd',
    500: '#2d7fb7',
    950: '#000000',
  },
}
SCSS
$custom: #2d7fb7;
$custom-light: #79a3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7fb7",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 183
  },
  "hsl": {
    "h": 204.348,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57347,
    "c": 0.11614,
    "h": 242.8
  },
  "luminance": 0.19156
}

Semantic roles & 50–950 ramp

primary
#2D7FB7
secondary
#C89878
accent
#8544E4
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2D7FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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