#2E7DCA#2E7DCA

#2E7DCA is a mid, vivid cyan. Relative luminance 0.195; OKLCH L 58.0% C 0.141 H 251.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2E7DCA
RGBrgb(46, 125, 202)
HSLhsl(210, 63%, 49%)
HSVhsv(210, 77%, 79%)
CMYKcmyk(77.2%, 38.1%, 0%, 20.8%)
CIE-LABlab(51.28, 2.96, -46.71)
CIE-LCHlch(51.28, 46.80, 273.62°)
OKLaboklab(58% -0.0453 -0.1332)
OKLCHoklch(58% 0.141 251.2)
XYZxyz(19.1170, 19.5101, 58.6239)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7DCA #CA7B2E
analogous
#2ECAC9 #2E7DCA #2E2FCA
triadic
#2E7DCA #CA2E7D #7DCA2E
tetradic
#2E7DCA #C92ECA #CA7B2E #2FCA2E
square
#2E7DCA #C92ECA #CA7B2E #2FCA2E
split-complementary
#2E7DCA #CA2E2F #CAC92E
monochromatic
#173F66 #235E98 #2E7DCA #5B9BDA #8DBAE5

Accessibility & contrast

On white

4.28
#2E7DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#2E7DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7DCA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7DCA#FFFFFF#000000##000000
##2E7DCA1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5982CD
Deuteranopia (green-blind)
#4074C8
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2e7dca;
/* rgb */ color: rgb(46, 125, 202);
/* oklch */ color: oklch(58.0% 0.141 251.2);
Tailwind
colors: {
  custom: {
    50: '#7da2da',
    500: '#2e7dca',
    950: '#000000',
  },
}
SCSS
$custom: #2e7dca;
$custom-light: #7da2da;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7dca",
  "rgb": {
    "r": 46,
    "g": 125,
    "b": 202
  },
  "hsl": {
    "h": 209.615,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57998,
    "c": 0.14073,
    "h": 251.2
  },
  "luminance": 0.19512
}

Semantic roles & 50–950 ramp

primary
#2E7DCA
secondary
#CFA984
accent
#9342E6
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0F15
muted
#7C7E83

Preview Lab

Preview with #2E7DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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