#2A6ECA#2A6ECA

#2A6ECA is a mid, vivid cyan. Relative luminance 0.159; OKLCH L 54.5% C 0.158 H 257.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2A6ECA
RGBrgb(42, 110, 202)
HSLhsl(215, 66%, 48%)
HSVhsv(215, 79%, 79%)
CMYKcmyk(79.2%, 45.5%, 0%, 20.8%)
CIE-LABlab(46.85, 11.83, -53.79)
CIE-LCHlch(46.85, 55.08, 282.41°)
OKLaboklab(54.52% -0.035 -0.1544)
OKLCHoklch(54.52% 0.158 257.2)
XYZxyz(17.1875, 15.9063, 58.0300)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6ECA #CA862A
analogous
#2ABECA #2A6ECA #362ACA
triadic
#2A6ECA #CA2A6E #6ECA2A
tetradic
#2A6ECA #CA2ABE #CA862A #2ACA36
square
#2A6ECA #CA2ABE #CA862A #2ACA36
split-complementary
#2A6ECA #CA362A #BECA2A
monochromatic
#153765 #1F5297 #2A6ECA #558FDC #88B0E6

Accessibility & contrast

On white

5.02
#2A6ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2A6ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6ECA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6ECA#FFFFFF#000000##FFFFFF
##2A6ECA1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D77CD
Deuteranopia (green-blind)
#1668C8
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a6eca;
/* rgb */ color: rgb(42, 110, 202);
/* oklch */ color: oklch(54.5% 0.158 257.2);
Tailwind
colors: {
  custom: {
    50: '#7c96db',
    500: '#2a6eca',
    950: '#000000',
  },
}
SCSS
$custom: #2a6eca;
$custom-light: #7c96db;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6eca",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 202
  },
  "hsl": {
    "h": 214.5,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54524,
    "c": 0.15827,
    "h": 257.2
  },
  "luminance": 0.15908
}

Semantic roles & 50–950 ramp

primary
#2A6ECA
secondary
#D0AE80
accent
#A13FE9
background
#F8F9FD
surface
#EFF1FB
border
#CACBD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2A6ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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