#2A8EB3#2A8EB3

#2A8EB3 is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 60.7% C 0.104 H 227.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#2A8EB3
RGBrgb(42, 142, 179)
HSLhsl(196, 62%, 43%)
HSVhsv(196, 77%, 70%)
CMYKcmyk(76.5%, 20.7%, 0%, 29.8%)
CIE-LABlab(55.17, -15.62, -27.49)
CIE-LCHlch(55.17, 31.62, 240.38°)
OKLaboklab(60.69% -0.0704 -0.0772)
OKLCHoklch(60.69% 0.104 227.6)
XYZxyz(18.7612, 23.0907, 46.1072)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8EB3 #B34F2A
analogous
#2AB393 #2A8EB3 #2A4AB3
triadic
#2A8EB3 #B32A8E #8EB32A
tetradic
#2A8EB3 #932AB3 #B34F2A #4AB32A
square
#2A8EB3 #932AB3 #B34F2A #4AB32A
split-complementary
#2A8EB3 #B32A4A #B3932A
monochromatic
#133F50 #1E6781 #2A8EB3 #46AED4 #78C3DF

Accessibility & contrast

On white

3.74
#2A8EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#2A8EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8EB3
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8EB3#FFFFFF#000000##000000
##2A8EB31.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8BB5
Deuteranopia (green-blind)
#687EB3
Tritanopia (blue-blind)
#00999A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2a8eb3;
/* rgb */ color: rgb(42, 142, 179);
/* oklch */ color: oklch(60.7% 0.104 227.6);
Tailwind
colors: {
  custom: {
    50: '#78afca',
    500: '#2a8eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2a8eb3;
$custom-light: #78afca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8eb3",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 179
  },
  "hsl": {
    "h": 196.204,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.60688,
    "c": 0.10446,
    "h": 227.6
  },
  "luminance": 0.23093
}

Semantic roles & 50–950 ramp

primary
#2A8EB3
secondary
#C78972
accent
#6F43E5
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A8EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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