#2D7EB4#2D7EB4

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

Color values

HEX#2D7EB4
RGBrgb(45, 126, 180)
HSLhsl(204, 60%, 44%)
HSVhsv(204, 75%, 71%)
CMYKcmyk(75%, 30%, 0%, 29.4%)
CIE-LABlab(50.42, -5.81, -35.46)
CIE-LCHlch(50.42, 35.93, 260.69°)
OKLaboklab(56.95% -0.053 -0.1003)
OKLCHoklch(56.95% 0.113 242.2)
XYZxyz(16.7781, 18.7729, 45.9104)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7EB4 #B4632D
analogous
#2DB4A7 #2D7EB4 #2D3BB4
triadic
#2D7EB4 #B42D7E #7EB42D
tetradic
#2D7EB4 #A72DB4 #B4632D #3BB42D
square
#2D7EB4 #A72DB4 #B4632D #3BB42D
split-complementary
#2D7EB4 #B42D3B #B4A72D
monochromatic
#153952 #215C83 #2D7EB4 #4C9DD2 #7DB7DE

Accessibility & contrast

On white

4.42
#2D7EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7EB4#FFFFFF#000000##000000
##2D7EB41.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#657FB6
Deuteranopia (green-blind)
#5272B3
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d7eb4;
/* rgb */ color: rgb(45, 126, 180);
/* oklch */ color: oklch(56.9% 0.113 242.2);
Tailwind
colors: {
  custom: {
    50: '#79a3ca',
    500: '#2d7eb4',
    950: '#000000',
  },
}
SCSS
$custom: #2d7eb4;
$custom-light: #79a3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7eb4",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 180
  },
  "hsl": {
    "h": 204,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56946,
    "c": 0.11349,
    "h": 242.2
  },
  "luminance": 0.18775
}

Semantic roles & 50–950 ramp

primary
#2D7EB4
secondary
#C79676
accent
#8445E3
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2D7EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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