#2D7BAC#2D7BAC

#2D7BAC is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.8% C 0.107 H 240.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2D7BAC
RGBrgb(45, 123, 172)
HSLhsl(203, 59%, 43%)
HSVhsv(203, 74%, 67%)
CMYKcmyk(73.8%, 28.5%, 0%, 32.5%)
CIE-LABlab(49.13, -6.93, -32.85)
CIE-LCHlch(49.13, 33.57, 258.09°)
OKLaboklab(55.8% -0.0527 -0.0928)
OKLCHoklch(55.8% 0.107 240.4)
XYZxyz(15.6086, 17.7006, 41.6157)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7BAC #AC5E2D
analogous
#2DAC9E #2D7BAC #2D3BAC
triadic
#2D7BAC #AC2D7B #7BAC2D
tetradic
#2D7BAC #9E2DAC #AC5E2D #3BAC2D
square
#2D7BAC #9E2DAC #AC5E2D #3BAC2D
split-complementary
#2D7BAC #AC2D3B #AC9E2D
monochromatic
#14364B #20587B #2D7BAC #479BCF #78B5DC

Accessibility & contrast

On white

4.63
#2D7BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2D7BAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7BAC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7BAC#FFFFFF#000000##FFFFFF
##2D7BAC1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647BAE
Deuteranopia (green-blind)
#536FAB
Tritanopia (blue-blind)
#00878C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2d7bac;
/* rgb */ color: rgb(45, 123, 172);
/* oklch */ color: oklch(55.8% 0.107 240.4);
Tailwind
colors: {
  custom: {
    50: '#77a1c5',
    500: '#2d7bac',
    950: '#000000',
  },
}
SCSS
$custom: #2d7bac;
$custom-light: #77a1c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7bac",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 172
  },
  "hsl": {
    "h": 203.15,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.558,
    "c": 0.10671,
    "h": 240.4
  },
  "luminance": 0.17702
}

Semantic roles & 50–950 ramp

primary
#2D7BAC
secondary
#C49171
accent
#8246E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2D7BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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