#2A7EB0#2A7EB0

#2A7EB0 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.6% C 0.110 H 239.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2A7EB0
RGBrgb(42, 126, 176)
HSLhsl(202, 61%, 43%)
HSVhsv(202, 76%, 69%)
CMYKcmyk(76.1%, 28.4%, 0%, 31%)
CIE-LABlab(50.15, -7.64, -33.57)
CIE-LCHlch(50.15, 34.43, 257.18°)
OKLaboklab(56.65% -0.0558 -0.0949)
OKLCHoklch(56.65% 0.11 239.5)
XYZxyz(16.2491, 18.5466, 43.7893)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7EB0 #B05C2A
analogous
#2AB09F #2A7EB0 #2A3BB0
triadic
#2A7EB0 #B02A7E #7EB02A
tetradic
#2A7EB0 #9F2AB0 #B05C2A #3BB02A
square
#2A7EB0 #9F2AB0 #B05C2A #3BB02A
split-complementary
#2A7EB0 #B02A3B #B09F2A
monochromatic
#12374D #1E5B7F #2A7EB0 #459ED3 #76B7DE

Accessibility & contrast

On white

4.46
#2A7EB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2A7EB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7EB0
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7EB0#FFFFFF#000000##000000
##2A7EB01.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#667EB2
Deuteranopia (green-blind)
#5472AF
Tritanopia (blue-blind)
#008B8F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a7eb0;
/* rgb */ color: rgb(42, 126, 176);
/* oklch */ color: oklch(56.6% 0.110 239.5);
Tailwind
colors: {
  custom: {
    50: '#77a3c8',
    500: '#2a7eb0',
    950: '#000000',
  },
}
SCSS
$custom: #2a7eb0;
$custom-light: #77a3c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7eb0",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 176
  },
  "hsl": {
    "h": 202.388,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.56649,
    "c": 0.11011,
    "h": 239.5
  },
  "luminance": 0.18549
}

Semantic roles & 50–950 ramp

primary
#2A7EB0
secondary
#C69070
accent
#7F43E5
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2A7EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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