#2B7EB4#2B7EB4

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

Color values

HEX#2B7EB4
RGBrgb(43, 126, 180)
HSLhsl(204, 61%, 44%)
HSVhsv(204, 76%, 71%)
CMYKcmyk(76.1%, 30%, 0%, 29.4%)
CIE-LABlab(50.37, -6.07, -35.54)
CIE-LCHlch(50.37, 36.06, 260.31°)
OKLaboklab(56.89% -0.054 -0.1006)
OKLCHoklch(56.89% 0.114 241.8)
XYZxyz(16.6921, 18.7286, 45.9064)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7EB4 #B4612B
analogous
#2BB4A5 #2B7EB4 #2B39B4
triadic
#2B7EB4 #B42B7E #7EB42B
tetradic
#2B7EB4 #A52BB4 #B4612B #39B42B
square
#2B7EB4 #A52BB4 #B4612B #39B42B
split-complementary
#2B7EB4 #B42B39 #B4A52B
monochromatic
#133951 #1F5B83 #2B7EB4 #499DD3 #7AB7DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7EB4#FFFFFF#000000##000000
##2B7EB41.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)
#657FB6
Deuteranopia (green-blind)
#5272B3
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b7eb4;
/* rgb */ color: rgb(43, 126, 180);
/* oklch */ color: oklch(56.9% 0.114 241.8);
Tailwind
colors: {
  custom: {
    50: '#78a3ca',
    500: '#2b7eb4',
    950: '#000000',
  },
}
SCSS
$custom: #2b7eb4;
$custom-light: #78a3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7eb4",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 180
  },
  "hsl": {
    "h": 203.65,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5689,
    "c": 0.11421,
    "h": 241.8
  },
  "luminance": 0.18731
}

Semantic roles & 50–950 ramp

primary
#2B7EB4
secondary
#C79573
accent
#8343E5
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2B7EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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