#2D7EB7#2D7EB7

#2D7EB7 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.1% C 0.117 H 243.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2D7EB7
RGBrgb(45, 126, 183)
HSLhsl(205, 61%, 45%)
HSVhsv(205, 75%, 72%)
CMYKcmyk(75.4%, 31.1%, 0%, 28.2%)
CIE-LABlab(50.57, -4.73, -36.96)
CIE-LCHlch(50.57, 37.26, 262.71°)
OKLaboklab(57.11% -0.0521 -0.1047)
OKLCHoklch(57.11% 0.117 243.6)
XYZxyz(17.0870, 18.8965, 47.5374)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7EB7 #B7662D
analogous
#2DB7AB #2D7EB7 #2D39B7
triadic
#2D7EB7 #B72D7E #7EB72D
tetradic
#2D7EB7 #AB2DB7 #B7662D #39B72D
square
#2D7EB7 #AB2DB7 #B7662D #39B72D
split-complementary
#2D7EB7 #B72D39 #B7AB2D
monochromatic
#153A55 #215C86 #2D7EB7 #4E9CD3 #7FB8DF

Accessibility & contrast

On white

4.39
#2D7EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2D7EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7EB7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7EB7#FFFFFF#000000##000000
##2D7EB71.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#647FB9
Deuteranopia (green-blind)
#5173B6
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d7eb7;
/* rgb */ color: rgb(45, 126, 183);
/* oklch */ color: oklch(57.1% 0.117 243.6);
Tailwind
colors: {
  custom: {
    50: '#79a3cd',
    500: '#2d7eb7',
    950: '#000000',
  },
}
SCSS
$custom: #2d7eb7;
$custom-light: #79a3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7eb7",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 183
  },
  "hsl": {
    "h": 204.783,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57109,
    "c": 0.11695,
    "h": 243.6
  },
  "luminance": 0.18898
}

Semantic roles & 50–950 ramp

primary
#2D7EB7
secondary
#C89978
accent
#8644E4
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2D7EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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