#2D7FB2#2D7FB2

#2D7FB2 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.1% C 0.110 H 240.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2D7FB2
RGBrgb(45, 127, 178)
HSLhsl(203, 60%, 44%)
HSVhsv(203, 75%, 70%)
CMYKcmyk(74.7%, 28.7%, 0%, 30.2%)
CIE-LABlab(50.63, -7.12, -33.98)
CIE-LCHlch(50.63, 34.71, 258.17°)
OKLaboklab(57.08% -0.0546 -0.096)
OKLCHoklch(57.08% 0.11 240.4)
XYZxyz(16.7043, 18.9490, 44.8880)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7FB2 #B2602D
analogous
#2DB2A2 #2D7FB2 #2D3CB2
triadic
#2D7FB2 #B22D7F #7FB22D
tetradic
#2D7FB2 #A22DB2 #B2602D #3CB22D
square
#2D7FB2 #A22DB2 #B2602D #3CB22D
split-complementary
#2D7FB2 #B22D3C #B2A22D
monochromatic
#143950 #215C81 #2D7FB2 #4B9ED1 #7CB8DE

Accessibility & contrast

On white

4.38
#2D7FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#2D7FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7FB2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7FB2#FFFFFF#000000##000000
##2D7FB21.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6780B4
Deuteranopia (green-blind)
#5573B1
Tritanopia (blue-blind)
#008C91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d7fb2;
/* rgb */ color: rgb(45, 127, 178);
/* oklch */ color: oklch(57.1% 0.110 240.4);
Tailwind
colors: {
  custom: {
    50: '#78a4c9',
    500: '#2d7fb2',
    950: '#000000',
  },
}
SCSS
$custom: #2d7fb2;
$custom-light: #78a4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7fb2",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 203.008,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57079,
    "c": 0.11049,
    "h": 240.4
  },
  "luminance": 0.18951
}

Semantic roles & 50–950 ramp

primary
#2D7FB2
secondary
#C69475
accent
#8245E3
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2D7FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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