#2D7FB4#2D7FB4

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

Color values

HEX#2D7FB4
RGBrgb(45, 127, 180)
HSLhsl(204, 60%, 44%)
HSVhsv(204, 75%, 71%)
CMYKcmyk(75%, 29.4%, 0%, 29.4%)
CIE-LABlab(50.72, -6.40, -34.98)
CIE-LCHlch(50.72, 35.56, 259.63°)
OKLaboklab(57.18% -0.054 -0.099)
OKLCHoklch(57.18% 0.113 241.4)
XYZxyz(16.9066, 19.0300, 45.9533)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7FB4 #B4622D
analogous
#2DB4A6 #2D7FB4 #2D3BB4
triadic
#2D7FB4 #B42D7F #7FB42D
tetradic
#2D7FB4 #A62DB4 #B4622D #3BB42D
square
#2D7FB4 #A62DB4 #B4622D #3BB42D
split-complementary
#2D7FB4 #B42D3B #B4A62D
monochromatic
#153A52 #215C83 #2D7FB4 #4C9ED2 #7DB8DE

Accessibility & contrast

On white

4.37
#2D7FB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7FB4#FFFFFF#000000##000000
##2D7FB41.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6680B6
Deuteranopia (green-blind)
#5473B3
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d7fb4;
/* rgb */ color: rgb(45, 127, 180);
/* oklch */ color: oklch(57.2% 0.113 241.4);
Tailwind
colors: {
  custom: {
    50: '#79a3ca',
    500: '#2d7fb4',
    950: '#000000',
  },
}
SCSS
$custom: #2d7fb4;
$custom-light: #79a3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7fb4",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 180
  },
  "hsl": {
    "h": 203.556,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.57185,
    "c": 0.11272,
    "h": 241.4
  },
  "luminance": 0.19032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D7FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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