#2D7EB8#2D7EB8

#2D7EB8 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.2% C 0.118 H 244.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2D7EB8
RGBrgb(45, 126, 184)
HSLhsl(205, 61%, 45%)
HSVhsv(205, 76%, 72%)
CMYKcmyk(75.5%, 31.5%, 0%, 27.8%)
CIE-LABlab(50.61, -4.37, -37.45)
CIE-LCHlch(50.61, 37.71, 263.35°)
OKLaboklab(57.16% -0.0518 -0.1062)
OKLCHoklch(57.16% 0.118 244)
XYZxyz(17.1914, 18.9383, 48.0875)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7EB8 #B8672D
analogous
#2DB8AD #2D7EB8 #2D38B8
triadic
#2D7EB8 #B82D7E #7EB82D
tetradic
#2D7EB8 #AD2DB8 #B8672D #38B82D
square
#2D7EB8 #AD2DB8 #B8672D #38B82D
split-complementary
#2D7EB8 #B82D38 #B8AD2D
monochromatic
#153B56 #215C87 #2D7EB8 #4E9CD4 #80B8E0

Accessibility & contrast

On white

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

On black

4.79
#2D7EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7EB8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7EB8#FFFFFF#000000##000000
##2D7EB81.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6380BB
Deuteranopia (green-blind)
#5073B7
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d7eb8;
/* rgb */ color: rgb(45, 126, 184);
/* oklch */ color: oklch(57.2% 0.118 244.0);
Tailwind
colors: {
  custom: {
    50: '#79a3cd',
    500: '#2d7eb8',
    950: '#000000',
  },
}
SCSS
$custom: #2d7eb8;
$custom-light: #79a3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7eb8",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 184
  },
  "hsl": {
    "h": 205.036,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57164,
    "c": 0.11812,
    "h": 244
  },
  "luminance": 0.1894
}

Semantic roles & 50–950 ramp

primary
#2D7EB8
secondary
#C99A78
accent
#8744E4
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2D7EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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