#2D7FB8#2D7FB8

#2D7FB8 is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.4% C 0.117 H 243.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2D7FB8
RGBrgb(45, 127, 184)
HSLhsl(205, 61%, 45%)
HSVhsv(205, 76%, 72%)
CMYKcmyk(75.5%, 31%, 0%, 27.8%)
CIE-LABlab(50.91, -4.96, -36.98)
CIE-LCHlch(50.91, 37.31, 262.37°)
OKLaboklab(57.4% -0.0527 -0.1048)
OKLCHoklch(57.4% 0.117 243.3)
XYZxyz(17.3199, 19.1953, 48.1303)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7FB8 #B8662D
analogous
#2DB8AB #2D7FB8 #2D3AB8
triadic
#2D7FB8 #B82D7F #7FB82D
tetradic
#2D7FB8 #AB2DB8 #B8662D #3AB82D
square
#2D7FB8 #AB2DB8 #B8662D #3AB82D
split-complementary
#2D7FB8 #B82D3A #B8AB2D
monochromatic
#153B56 #215D87 #2D7FB8 #4E9DD4 #80B8E0

Accessibility & contrast

On white

4.34
#2D7FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#2D7FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7FB8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7FB8#FFFFFF#000000##000000
##2D7FB81.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6580BA
Deuteranopia (green-blind)
#5173B7
Tritanopia (blue-blind)
#008D93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d7fb8;
/* rgb */ color: rgb(45, 127, 184);
/* oklch */ color: oklch(57.4% 0.117 243.3);
Tailwind
colors: {
  custom: {
    50: '#79a3cd',
    500: '#2d7fb8',
    950: '#000000',
  },
}
SCSS
$custom: #2d7fb8;
$custom-light: #79a3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7fb8",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 184
  },
  "hsl": {
    "h": 204.604,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57401,
    "c": 0.1173,
    "h": 243.3
  },
  "luminance": 0.19197
}

Semantic roles & 50–950 ramp

primary
#2D7FB8
secondary
#C99978
accent
#8644E4
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2D7FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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