#2D7EB5#2D7EB5

#2D7EB5 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 57.0% C 0.115 H 242.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2D7EB5
RGBrgb(45, 126, 181)
HSLhsl(204, 60%, 44%)
HSVhsv(204, 75%, 71%)
CMYKcmyk(75.1%, 30.4%, 0%, 29%)
CIE-LABlab(50.47, -5.45, -35.96)
CIE-LCHlch(50.47, 36.37, 261.38°)
OKLaboklab(57% -0.0527 -0.1018)
OKLCHoklch(57% 0.115 242.6)
XYZxyz(16.8803, 18.8138, 46.4489)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7EB5 #B5642D
analogous
#2DB5A8 #2D7EB5 #2D3AB5
triadic
#2D7EB5 #B52D7E #7EB52D
tetradic
#2D7EB5 #A82DB5 #B5642D #3AB52D
square
#2D7EB5 #A82DB5 #B5642D #3AB52D
split-complementary
#2D7EB5 #B52D3A #B5A82D
monochromatic
#153A53 #215C84 #2D7EB5 #4D9CD3 #7EB7DF

Accessibility & contrast

On white

4.41
#2D7EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2D7EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7EB5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7EB5#FFFFFF#000000##000000
##2D7EB51.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#657FB7
Deuteranopia (green-blind)
#5272B4
Tritanopia (blue-blind)
#008C91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d7eb5;
/* rgb */ color: rgb(45, 126, 181);
/* oklch */ color: oklch(57.0% 0.115 242.6);
Tailwind
colors: {
  custom: {
    50: '#79a3cb',
    500: '#2d7eb5',
    950: '#000000',
  },
}
SCSS
$custom: #2d7eb5;
$custom-light: #79a3cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7eb5",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 181
  },
  "hsl": {
    "h": 204.265,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.57,
    "c": 0.11463,
    "h": 242.6
  },
  "luminance": 0.18816
}

Semantic roles & 50–950 ramp

primary
#2D7EB5
secondary
#C79776
accent
#8544E3
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2D7EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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