#2D7CB1#2D7CB1

#2D7CB1 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.3% C 0.112 H 242.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2D7CB1
RGBrgb(45, 124, 177)
HSLhsl(204, 59%, 44%)
HSVhsv(204, 75%, 69%)
CMYKcmyk(74.6%, 29.9%, 0%, 30.6%)
CIE-LABlab(49.67, -5.72, -34.90)
CIE-LCHlch(49.67, 35.36, 260.69°)
OKLaboklab(56.31% -0.052 -0.0987)
OKLCHoklch(56.31% 0.112 242.2)
XYZxyz(16.2226, 18.1456, 44.2339)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7CB1 #B1622D
analogous
#2DB1A4 #2D7CB1 #2D3AB1
triadic
#2D7CB1 #B12D7C #7CB12D
tetradic
#2D7CB1 #A42DB1 #B1622D #3AB12D
square
#2D7CB1 #A42DB1 #B1622D #3AB12D
split-complementary
#2D7CB1 #B12D3A #B1A42D
monochromatic
#14384F #215A80 #2D7CB1 #4A9BD1 #7BB6DD

Accessibility & contrast

On white

4.54
#2D7CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#2D7CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7CB1
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7CB1#FFFFFF#000000##000000
##2D7CB11.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#637DB3
Deuteranopia (green-blind)
#5171B0
Tritanopia (blue-blind)
#00898F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d7cb1;
/* rgb */ color: rgb(45, 124, 177);
/* oklch */ color: oklch(56.3% 0.112 242.2);
Tailwind
colors: {
  custom: {
    50: '#78a1c8',
    500: '#2d7cb1',
    950: '#000000',
  },
}
SCSS
$custom: #2d7cb1;
$custom-light: #78a1c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7cb1",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 177
  },
  "hsl": {
    "h": 204.091,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.56307,
    "c": 0.11161,
    "h": 242.2
  },
  "luminance": 0.18148
}

Semantic roles & 50–950 ramp

primary
#2D7CB1
secondary
#C69574
accent
#8445E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2D7CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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