#2D7FB5#2D7FB5

#2D7FB5 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.2% C 0.114 H 241.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2D7FB5
RGBrgb(45, 127, 181)
HSLhsl(204, 60%, 44%)
HSVhsv(204, 75%, 71%)
CMYKcmyk(75.1%, 29.8%, 0%, 29%)
CIE-LABlab(50.77, -6.04, -35.48)
CIE-LCHlch(50.77, 35.99, 260.34°)
OKLaboklab(57.24% -0.0537 -0.1004)
OKLCHoklch(57.24% 0.114 241.9)
XYZxyz(17.0088, 19.0708, 46.4917)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7FB5 #B5632D
analogous
#2DB5A7 #2D7FB5 #2D3BB5
triadic
#2D7FB5 #B52D7F #7FB52D
tetradic
#2D7FB5 #A72DB5 #B5632D #3BB52D
square
#2D7FB5 #A72DB5 #B5632D #3BB52D
split-complementary
#2D7FB5 #B52D3B #B5A72D
monochromatic
#153A53 #215D84 #2D7FB5 #4D9DD3 #7EB8DF

Accessibility & contrast

On white

4.36
#2D7FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#2D7FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7FB5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7FB5#FFFFFF#000000##000000
##2D7FB51.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6680B7
Deuteranopia (green-blind)
#5373B4
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d7fb5;
/* rgb */ color: rgb(45, 127, 181);
/* oklch */ color: oklch(57.2% 0.114 241.9);
Tailwind
colors: {
  custom: {
    50: '#79a3cb',
    500: '#2d7fb5',
    950: '#000000',
  },
}
SCSS
$custom: #2d7fb5;
$custom-light: #79a3cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7fb5",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 181
  },
  "hsl": {
    "h": 203.824,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.57239,
    "c": 0.11386,
    "h": 241.9
  },
  "luminance": 0.19073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D7FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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