#2B7EB5#2B7EB5

#2B7EB5 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 56.9% C 0.115 H 242.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2B7EB5
RGBrgb(43, 126, 181)
HSLhsl(204, 62%, 44%)
HSVhsv(204, 76%, 71%)
CMYKcmyk(76.2%, 30.4%, 0%, 29%)
CIE-LABlab(50.42, -5.71, -36.04)
CIE-LCHlch(50.42, 36.49, 261.01°)
OKLaboklab(56.94% -0.0537 -0.1021)
OKLCHoklch(56.94% 0.115 242.2)
XYZxyz(16.7944, 18.7695, 46.4449)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7EB5 #B5622B
analogous
#2BB5A7 #2B7EB5 #2B39B5
triadic
#2B7EB5 #B52B7E #7EB52B
tetradic
#2B7EB5 #A72BB5 #B5622B #39B52B
square
#2B7EB5 #A72BB5 #B5622B #39B52B
split-complementary
#2B7EB5 #B52B39 #B5A72B
monochromatic
#143952 #1F5C84 #2B7EB5 #499DD4 #7BB7E0

Accessibility & contrast

On white

4.42
#2B7EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#2B7EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7EB5
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7EB5#FFFFFF#000000##000000
##2B7EB51.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#647FB7
Deuteranopia (green-blind)
#5172B4
Tritanopia (blue-blind)
#008C91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b7eb5;
/* rgb */ color: rgb(43, 126, 181);
/* oklch */ color: oklch(56.9% 0.115 242.2);
Tailwind
colors: {
  custom: {
    50: '#78a3cb',
    500: '#2b7eb5',
    950: '#000000',
  },
}
SCSS
$custom: #2b7eb5;
$custom-light: #78a3cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7eb5",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 181
  },
  "hsl": {
    "h": 203.913,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56944,
    "c": 0.11535,
    "h": 242.2
  },
  "luminance": 0.18771
}

Semantic roles & 50–950 ramp

primary
#2B7EB5
secondary
#C89574
accent
#8443E5
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2B7EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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