#2A7CE6#2A7CE6

#2A7CE6 is a mid, vivid cyan. Relative luminance 0.206; OKLCH L 59.5% C 0.179 H 256.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2A7CE6
RGBrgb(42, 124, 230)
HSLhsl(214, 79%, 53%)
HSVhsv(214, 82%, 90%)
CMYKcmyk(81.7%, 46.1%, 0%, 9.8%)
CIE-LABlab(52.53, 13.65, -60.53)
CIE-LCHlch(52.53, 62.05, 282.70°)
OKLaboklab(59.47% -0.0407 -0.1739)
OKLCHoklch(59.47% 0.179 256.8)
XYZxyz(22.4401, 20.6179, 77.6445)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7CE6 #E6942A
analogous
#2ADAE6 #2A7CE6 #362AE6
triadic
#2A7CE6 #E62A7C #7CE62A
tetradic
#2A7CE6 #E62ADA #E6942A #2AE636
square
#2A7CE6 #E62ADA #E6942A #2AE636
split-complementary
#2A7CE6 #E6362A #DAE62A
monochromatic
#104386 #165FBD #2A7CE6 #619EEC #98BFF3

Accessibility & contrast

On white

4.10
#2A7CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#2A7CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7CE6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7CE6#FFFFFF#000000##000000
##2A7CE61.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4186EA
Deuteranopia (green-blind)
#0576E4
Tritanopia (blue-blind)
#0095A6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2a7ce6;
/* rgb */ color: rgb(42, 124, 230);
/* oklch */ color: oklch(59.5% 0.179 256.8);
Tailwind
colors: {
  custom: {
    50: '#82a1ee',
    500: '#2a7ce6',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ce6;
$custom-light: #82a1ee;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ce6",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 230
  },
  "hsl": {
    "h": 213.83,
    "s": 78.992,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59469,
    "c": 0.17862,
    "h": 256.8
  },
  "luminance": 0.20621
}

Semantic roles & 50–950 ramp

primary
#2A7CE6
secondary
#DEBB8D
accent
#A032F5
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #2A7CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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