#2A7ECA#2A7ECA

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

Color values

HEX#2A7ECA
RGBrgb(42, 126, 202)
HSLhsl(209, 66%, 48%)
HSVhsv(209, 79%, 79%)
CMYKcmyk(79.2%, 37.6%, 0%, 20.8%)
CIE-LABlab(51.47, 1.91, -46.41)
CIE-LCHlch(51.47, 46.45, 272.36°)
OKLaboklab(58.12% -0.0483 -0.1324)
OKLCHoklch(58.12% 0.141 250)
XYZxyz(19.0723, 19.6759, 58.6583)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7ECA #CA762A
analogous
#2ACAC6 #2A7ECA #2A2ECA
triadic
#2A7ECA #CA2A7E #7ECA2A
tetradic
#2A7ECA #C62ACA #CA762A #2ECA2A
square
#2A7ECA #C62ACA #CA762A #2ECA2A
split-complementary
#2A7ECA #CA2A2E #CAC62A
monochromatic
#153F65 #1F5E97 #2A7ECA #559CDC #88BAE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A7ECA#FFFFFF#000000##000000
##2A7ECA1.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)
#4174C9
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a7eca;
/* rgb */ color: rgb(42, 126, 202);
/* oklch */ color: oklch(58.1% 0.141 250.0);
Tailwind
colors: {
  custom: {
    50: '#7ca2da',
    500: '#2a7eca',
    950: '#000000',
  },
}
SCSS
$custom: #2a7eca;
$custom-light: #7ca2da;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7eca",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 208.5,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58118,
    "c": 0.14092,
    "h": 250
  },
  "luminance": 0.19678
}

Semantic roles & 50–950 ramp

primary
#2A7ECA
secondary
#D0A680
accent
#903FE9
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0F15
muted
#7C7E83

Preview Lab

Preview with #2A7ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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