#2D7EB3#2D7EB3

#2D7EB3 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.9% C 0.112 H 241.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2D7EB3
RGBrgb(45, 126, 179)
HSLhsl(204, 60%, 44%)
HSVhsv(204, 75%, 70%)
CMYKcmyk(74.9%, 29.6%, 0%, 29.8%)
CIE-LABlab(50.37, -6.17, -34.95)
CIE-LCHlch(50.37, 35.49, 259.98°)
OKLaboklab(56.89% -0.0533 -0.0989)
OKLCHoklch(56.89% 0.112 241.7)
XYZxyz(16.6766, 18.7323, 45.3759)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7EB3 #B3622D
analogous
#2DB3A5 #2D7EB3 #2D3BB3
triadic
#2D7EB3 #B32D7E #7EB32D
tetradic
#2D7EB3 #A52DB3 #B3622D #3BB32D
square
#2D7EB3 #A52DB3 #B3622D #3BB32D
split-complementary
#2D7EB3 #B32D3B #B3A52D
monochromatic
#143951 #215C82 #2D7EB3 #4B9DD2 #7CB7DE

Accessibility & contrast

On white

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

On black

4.75
#2D7EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7EB3
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7EB3#FFFFFF#000000##000000
##2D7EB31.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#657FB5
Deuteranopia (green-blind)
#5372B2
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d7eb3;
/* rgb */ color: rgb(45, 126, 179);
/* oklch */ color: oklch(56.9% 0.112 241.7);
Tailwind
colors: {
  custom: {
    50: '#78a3ca',
    500: '#2d7eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2d7eb3;
$custom-light: #78a3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7eb3",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 179
  },
  "hsl": {
    "h": 203.731,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56893,
    "c": 0.11235,
    "h": 241.7
  },
  "luminance": 0.18734
}

Semantic roles & 50–950 ramp

primary
#2D7EB3
secondary
#C79575
accent
#8345E3
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2D7EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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