#2B7DB8#2B7DB8

#2B7DB8 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.9% C 0.120 H 244.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2B7DB8
RGBrgb(43, 125, 184)
HSLhsl(205, 62%, 45%)
HSVhsv(205, 77%, 72%)
CMYKcmyk(76.6%, 32.1%, 0%, 27.8%)
CIE-LABlab(50.26, -4.02, -38.01)
CIE-LCHlch(50.26, 38.22, 263.96°)
OKLaboklab(56.87% -0.0519 -0.1078)
OKLCHoklch(56.87% 0.12 244.3)
XYZxyz(16.9783, 18.6395, 48.0411)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7DB8 #B8662B
analogous
#2BB8AD #2B7DB8 #2B37B8
triadic
#2B7DB8 #B82B7D #7DB82B
tetradic
#2B7DB8 #AD2BB8 #B8662B #37B82B
square
#2B7DB8 #AD2BB8 #B8662B #37B82B
split-complementary
#2B7DB8 #B82B37 #B8AD2B
monochromatic
#143A55 #1F5B86 #2B7DB8 #4B9BD5 #7DB7E1

Accessibility & contrast

On white

4.44
#2B7DB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#2B7DB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7DB8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7DB8#FFFFFF#000000##000000
##2B7DB81.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#627FBB
Deuteranopia (green-blind)
#4E72B7
Tritanopia (blue-blind)
#008B92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b7db8;
/* rgb */ color: rgb(43, 125, 184);
/* oklch */ color: oklch(56.9% 0.120 244.3);
Tailwind
colors: {
  custom: {
    50: '#79a2cd',
    500: '#2b7db8',
    950: '#000000',
  },
}
SCSS
$custom: #2b7db8;
$custom-light: #79a2cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7db8",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 184
  },
  "hsl": {
    "h": 205.106,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56871,
    "c": 0.11965,
    "h": 244.3
  },
  "luminance": 0.18642
}

Semantic roles & 50–950 ramp

primary
#2B7DB8
secondary
#C99976
accent
#8743E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2B7DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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