#2A7DE6#2A7DE6

#2A7DE6 is a mid, vivid cyan. Relative luminance 0.209; OKLCH L 59.7% C 0.177 H 256.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2A7DE6
RGBrgb(42, 125, 230)
HSLhsl(214, 79%, 53%)
HSVhsv(214, 82%, 90%)
CMYKcmyk(81.7%, 45.7%, 0%, 9.8%)
CIE-LABlab(52.81, 13.02, -60.08)
CIE-LCHlch(52.81, 61.48, 282.23°)
OKLaboklab(59.68% -0.0415 -0.1726)
OKLCHoklch(59.68% 0.177 256.5)
XYZxyz(22.5661, 20.8699, 77.6865)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7DE6 #E6932A
analogous
#2ADBE6 #2A7DE6 #352AE6
triadic
#2A7DE6 #E62A7D #7DE62A
tetradic
#2A7DE6 #E62ADB #E6932A #2AE635
square
#2A7DE6 #E62ADB #E6932A #2AE635
split-complementary
#2A7DE6 #E6352A #DBE62A
monochromatic
#104486 #1660BD #2A7DE6 #619EEC #98C0F3

Accessibility & contrast

On white

4.06
#2A7DE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#2A7DE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7DE6
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7DE6#FFFFFF#000000##000000
##2A7DE61.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4487EA
Deuteranopia (green-blind)
#0F76E4
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2a7de6;
/* rgb */ color: rgb(42, 125, 230);
/* oklch */ color: oklch(59.7% 0.177 256.5);
Tailwind
colors: {
  custom: {
    50: '#82a1ee',
    500: '#2a7de6',
    950: '#000000',
  },
}
SCSS
$custom: #2a7de6;
$custom-light: #82a1ee;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7de6",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 230
  },
  "hsl": {
    "h": 213.511,
    "s": 78.992,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59684,
    "c": 0.17749,
    "h": 256.5
  },
  "luminance": 0.20873
}

Semantic roles & 50–950 ramp

primary
#2A7DE6
secondary
#DEBB8D
accent
#9F32F5
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #2A7DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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