#2A7EA6#2A7EA6

#2A7EA6 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.1% C 0.100 H 233.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2A7EA6
RGBrgb(42, 126, 166)
HSLhsl(199, 60%, 41%)
HSVhsv(199, 75%, 65%)
CMYKcmyk(74.7%, 24.1%, 0%, 34.9%)
CIE-LABlab(49.70, -11.21, -28.49)
CIE-LCHlch(49.70, 30.61, 248.53°)
OKLaboklab(56.14% -0.0593 -0.0802)
OKLCHoklch(56.14% 0.1 233.5)
XYZxyz(15.2959, 18.1653, 38.7691)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7EA6 #A6522A
analogous
#2AA690 #2A7EA6 #2A40A6
triadic
#2A7EA6 #A62A7E #7EA62A
tetradic
#2A7EA6 #902AA6 #A6522A #40A62A
square
#2A7EA6 #902AA6 #A6522A #40A62A
split-complementary
#2A7EA6 #A62A40 #A6902A
monochromatic
#113444 #1E5975 #2A7EA6 #3FA0CE #70B8DB

Accessibility & contrast

On white

4.53
#2A7EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#2A7EA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7EA6
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7EA6#FFFFFF#000000##000000
##2A7EA61.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7DA8
Deuteranopia (green-blind)
#5A71A5
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a7ea6;
/* rgb */ color: rgb(42, 126, 166);
/* oklch */ color: oklch(56.1% 0.100 233.5);
Tailwind
colors: {
  custom: {
    50: '#75a3c0',
    500: '#2a7ea6',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ea6;
$custom-light: #75a3c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ea6",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 166
  },
  "hsl": {
    "h": 199.355,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.56136,
    "c": 0.09972,
    "h": 233.5
  },
  "luminance": 0.18167
}

Semantic roles & 50–950 ramp

primary
#2A7EA6
secondary
#C2866A
accent
#7845E3
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2A7EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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