#2A8FB4#2A8FB4

#2A8FB4 is a mid, moderate cyan. Relative luminance 0.234; OKLCH L 61.0% C 0.105 H 227.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#2A8FB4
RGBrgb(42, 143, 180)
HSLhsl(196, 62%, 44%)
HSVhsv(196, 77%, 71%)
CMYKcmyk(76.7%, 20.6%, 0%, 29.4%)
CIE-LABlab(55.51, -15.83, -27.52)
CIE-LCHlch(55.51, 31.75, 240.09°)
OKLaboklab(60.98% -0.071 -0.0773)
OKLCHoklch(60.98% 0.105 227.4)
XYZxyz(19.0121, 23.4302, 46.6916)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8FB4 #B44F2A
analogous
#2AB494 #2A8FB4 #2A4AB4
triadic
#2A8FB4 #B42A8F #8FB42A
tetradic
#2A8FB4 #942AB4 #B44F2A #4AB42A
square
#2A8FB4 #942AB4 #B44F2A #4AB42A
split-complementary
#2A8FB4 #B42A4A #B4942A
monochromatic
#134051 #1E6882 #2A8FB4 #47AED4 #79C4E0

Accessibility & contrast

On white

3.69
#2A8FB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#2A8FB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8FB4
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8FB4#FFFFFF#000000##000000
##2A8FB41.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8CB6
Deuteranopia (green-blind)
#697FB4
Tritanopia (blue-blind)
#009A9B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a8fb4;
/* rgb */ color: rgb(42, 143, 180);
/* oklch */ color: oklch(61.0% 0.105 227.4);
Tailwind
colors: {
  custom: {
    50: '#79afca',
    500: '#2a8fb4',
    950: '#000000',
  },
}
SCSS
$custom: #2a8fb4;
$custom-light: #79afca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8fb4",
  "rgb": {
    "r": 42,
    "g": 143,
    "b": 180
  },
  "hsl": {
    "h": 196.087,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.60979,
    "c": 0.10493,
    "h": 227.4
  },
  "luminance": 0.23432
}

Semantic roles & 50–950 ramp

primary
#2A8FB4
secondary
#C88972
accent
#6E43E5
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A8FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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