#2B7ECA#2B7ECA

#2B7ECA is a mid, vivid cyan. Relative luminance 0.197; OKLCH L 58.1% C 0.141 H 250.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2B7ECA
RGBrgb(43, 126, 202)
HSLhsl(209, 65%, 48%)
HSVhsv(209, 79%, 79%)
CMYKcmyk(78.7%, 37.6%, 0%, 20.8%)
CIE-LABlab(51.49, 2.02, -46.37)
CIE-LCHlch(51.49, 46.41, 272.49°)
OKLaboklab(58.14% -0.0478 -0.1323)
OKLCHoklch(58.14% 0.141 250.1)
XYZxyz(19.1137, 19.6973, 58.6602)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7ECA #CA772B
analogous
#2BCAC6 #2B7ECA #2B2FCA
triadic
#2B7ECA #CA2B7E #7ECA2B
tetradic
#2B7ECA #C62BCA #CA772B #2FCA2B
square
#2B7ECA #C62BCA #CA772B #2FCA2B
split-complementary
#2B7ECA #CA2B2F #CAC62B
monochromatic
#163F65 #205F98 #2B7ECA #579CDB #89BAE6

Accessibility & contrast

On white

4.25
#2B7ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2B7ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7ECA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7ECA#FFFFFF#000000##000000
##2B7ECA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A83CD
Deuteranopia (green-blind)
#4274C9
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2b7eca;
/* rgb */ color: rgb(43, 126, 202);
/* oklch */ color: oklch(58.1% 0.141 250.1);
Tailwind
colors: {
  custom: {
    50: '#7ca2da',
    500: '#2b7eca',
    950: '#000000',
  },
}
SCSS
$custom: #2b7eca;
$custom-light: #7ca2da;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7eca",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 208.679,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58144,
    "c": 0.14062,
    "h": 250.1
  },
  "luminance": 0.197
}

Semantic roles & 50–950 ramp

primary
#2B7ECA
secondary
#D0A781
accent
#9040E8
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0F15
muted
#7C7E83

Preview Lab

Preview with #2B7ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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