#2B7EC4#2B7EC4

#2B7EC4 is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 57.8% C 0.133 H 248.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2B7EC4
RGBrgb(43, 126, 196)
HSLhsl(207, 64%, 47%)
HSVhsv(207, 78%, 77%)
CMYKcmyk(78.1%, 35.7%, 0%, 23.1%)
CIE-LABlab(51.17, -0.21, -43.46)
CIE-LCHlch(51.17, 43.46, 269.73°)
OKLaboklab(57.79% -0.0493 -0.1237)
OKLCHoklch(57.79% 0.133 248.3)
XYZxyz(18.4171, 19.4186, 54.9914)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7EC4 #C4712B
analogous
#2BC4BE #2B7EC4 #2B31C4
triadic
#2B7EC4 #C42B7E #7EC42B
tetradic
#2B7EC4 #BE2BC4 #C4712B #31C42B
square
#2B7EC4 #BE2BC4 #C4712B #31C42B
split-complementary
#2B7EC4 #C42B31 #C4BE2B
monochromatic
#153D60 #205E92 #2B7EC4 #539CD9 #85B9E4

Accessibility & contrast

On white

4.30
#2B7EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2B7EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7EC4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7EC4#FFFFFF#000000##000000
##2B7EC41.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D82C7
Deuteranopia (green-blind)
#4774C3
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2b7ec4;
/* rgb */ color: rgb(43, 126, 196);
/* oklch */ color: oklch(57.8% 0.133 248.3);
Tailwind
colors: {
  custom: {
    50: '#7ba3d6',
    500: '#2b7ec4',
    950: '#000000',
  },
}
SCSS
$custom: #2b7ec4;
$custom-light: #7ba3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7ec4",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 196
  },
  "hsl": {
    "h": 207.451,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57789,
    "c": 0.1332,
    "h": 248.3
  },
  "luminance": 0.19421
}

Semantic roles & 50–950 ramp

primary
#2B7EC4
secondary
#CEA27D
accent
#8D41E7
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #2B7EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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