#2E7CCA#2E7CCA

#2E7CCA is a mid, vivid cyan. Relative luminance 0.193; OKLCH L 57.8% C 0.142 H 251.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2E7CCA
RGBrgb(46, 124, 202)
HSLhsl(210, 63%, 49%)
HSVhsv(210, 77%, 79%)
CMYKcmyk(77.2%, 38.6%, 0%, 20.8%)
CIE-LABlab(50.99, 3.57, -47.17)
CIE-LCHlch(50.99, 47.30, 274.32°)
OKLaboklab(57.77% -0.0445 -0.1346)
OKLCHoklch(57.77% 0.142 251.7)
XYZxyz(18.9910, 19.2582, 58.5820)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7CCA #CA7C2E
analogous
#2ECACA #2E7CCA #2E2ECA
triadic
#2E7CCA #CA2E7C #7CCA2E
tetradic
#2E7CCA #CA2ECA #CA7C2E #2ECA2E
square
#2E7CCA #CA2ECA #CA7C2E #2ECA2E
split-complementary
#2E7CCA #CA2E2E #CACA2E
monochromatic
#173F66 #235D98 #2E7CCA #5B9BDA #8DB9E5

Accessibility & contrast

On white

4.33
#2E7CCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#2E7CCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7CCA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7CCA#FFFFFF#000000##000000
##2E7CCA1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CD
Deuteranopia (green-blind)
#3E73C8
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2e7cca;
/* rgb */ color: rgb(46, 124, 202);
/* oklch */ color: oklch(57.8% 0.142 251.7);
Tailwind
colors: {
  custom: {
    50: '#7da1da',
    500: '#2e7cca',
    950: '#000000',
  },
}
SCSS
$custom: #2e7cca;
$custom-light: #7da1da;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7cca",
  "rgb": {
    "r": 46,
    "g": 124,
    "b": 202
  },
  "hsl": {
    "h": 210,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57771,
    "c": 0.14177,
    "h": 251.7
  },
  "luminance": 0.1926
}

Semantic roles & 50–950 ramp

primary
#2E7CCA
secondary
#CFAA84
accent
#9442E6
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2E7CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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