#2E7ECB#2E7ECB

#2E7ECB is a mid, vivid cyan. Relative luminance 0.198; OKLCH L 58.3% C 0.141 H 251.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2E7ECB
RGBrgb(46, 126, 203)
HSLhsl(209, 63%, 49%)
HSVhsv(209, 77%, 80%)
CMYKcmyk(77.3%, 37.9%, 0%, 20.4%)
CIE-LABlab(51.62, 2.72, -46.73)
CIE-LCHlch(51.62, 46.81, 273.33°)
OKLaboklab(58.29% -0.046 -0.1333)
OKLCHoklch(58.29% 0.141 251)
XYZxyz(19.3630, 19.8121, 59.2919)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7ECB #CB7B2E
analogous
#2ECBCA #2E7ECB #2E30CB
triadic
#2E7ECB #CB2E7E #7ECB2E
tetradic
#2E7ECB #CA2ECB #CB7B2E #30CB2E
square
#2E7ECB #CA2ECB #CB7B2E #30CB2E
split-complementary
#2E7ECB #CB2E30 #CBCA2E
monochromatic
#174067 #235F99 #2E7ECB #5C9CDA #8EBBE5

Accessibility & contrast

On white

4.23
#2E7ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#2E7ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7ECB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7ECB#FFFFFF#000000##000000
##2E7ECB1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A83CE
Deuteranopia (green-blind)
#4175C9
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2e7ecb;
/* rgb */ color: rgb(46, 126, 203);
/* oklch */ color: oklch(58.3% 0.141 251.0);
Tailwind
colors: {
  custom: {
    50: '#7da2db',
    500: '#2e7ecb',
    950: '#000000',
  },
}
SCSS
$custom: #2e7ecb;
$custom-light: #7da2db;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7ecb",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 209.427,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58286,
    "c": 0.14099,
    "h": 251
  },
  "luminance": 0.19814
}

Semantic roles & 50–950 ramp

primary
#2E7ECB
secondary
#D0AA85
accent
#9242E6
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0F15
muted
#7C7E83

Preview Lab

Preview with #2E7ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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