#2D7EB2#2D7EB2

#2D7EB2 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.8% C 0.111 H 241.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2D7EB2
RGBrgb(45, 126, 178)
HSLhsl(203, 60%, 44%)
HSVhsv(203, 75%, 70%)
CMYKcmyk(74.7%, 29.2%, 0%, 30.2%)
CIE-LABlab(50.32, -6.53, -34.45)
CIE-LCHlch(50.32, 35.06, 259.26°)
OKLaboklab(56.84% -0.0536 -0.0974)
OKLCHoklch(56.84% 0.111 241.2)
XYZxyz(16.5758, 18.6920, 44.8452)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7EB2 #B2612D
analogous
#2DB2A3 #2D7EB2 #2D3BB2
triadic
#2D7EB2 #B22D7E #7EB22D
tetradic
#2D7EB2 #A32DB2 #B2612D #3BB22D
square
#2D7EB2 #A32DB2 #B2612D #3BB22D
split-complementary
#2D7EB2 #B22D3B #B2A32D
monochromatic
#143950 #215B81 #2D7EB2 #4B9DD1 #7CB7DE

Accessibility & contrast

On white

4.43
#2D7EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#2D7EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7EB2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7EB2#FFFFFF#000000##000000
##2D7EB21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#667FB4
Deuteranopia (green-blind)
#5472B1
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d7eb2;
/* rgb */ color: rgb(45, 126, 178);
/* oklch */ color: oklch(56.8% 0.111 241.2);
Tailwind
colors: {
  custom: {
    50: '#78a3c9',
    500: '#2d7eb2',
    950: '#000000',
  },
}
SCSS
$custom: #2d7eb2;
$custom-light: #78a3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7eb2",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 178
  },
  "hsl": {
    "h": 203.459,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56839,
    "c": 0.11122,
    "h": 241.2
  },
  "luminance": 0.18694
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D7EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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