#2B7DB4#2B7DB4

#2B7DB4 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.7% C 0.115 H 242.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2B7DB4
RGBrgb(43, 125, 180)
HSLhsl(204, 61%, 44%)
HSVhsv(204, 76%, 71%)
CMYKcmyk(76.1%, 30.6%, 0%, 29.4%)
CIE-LABlab(50.07, -5.48, -36.02)
CIE-LCHlch(50.07, 36.43, 261.35°)
OKLaboklab(56.65% -0.0531 -0.102)
OKLCHoklch(56.65% 0.115 242.5)
XYZxyz(16.5649, 18.4742, 45.8640)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7DB4 #B4622B
analogous
#2BB4A6 #2B7DB4 #2B38B4
triadic
#2B7DB4 #B42B7D #7DB42B
tetradic
#2B7DB4 #A62BB4 #B4622B #38B42B
square
#2B7DB4 #A62BB4 #B4622B #38B42B
split-complementary
#2B7DB4 #B42B38 #B4A62B
monochromatic
#133851 #1F5B83 #2B7DB4 #499CD3 #7AB7DF

Accessibility & contrast

On white

4.47
#2B7DB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#2B7DB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7DB4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7DB4#FFFFFF#000000##000000
##2B7DB41.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#637EB6
Deuteranopia (green-blind)
#5171B3
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2b7db4;
/* rgb */ color: rgb(43, 125, 180);
/* oklch */ color: oklch(56.7% 0.115 242.5);
Tailwind
colors: {
  custom: {
    50: '#78a2ca',
    500: '#2b7db4',
    950: '#000000',
  },
}
SCSS
$custom: #2b7db4;
$custom-light: #78a2ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7db4",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 180
  },
  "hsl": {
    "h": 204.088,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56651,
    "c": 0.115,
    "h": 242.5
  },
  "luminance": 0.18476
}

Semantic roles & 50–950 ramp

primary
#2B7DB4
secondary
#C79573
accent
#8443E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2B7DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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