#2A8FBC#2A8FBC

#2A8FBC is a mid, moderate cyan. Relative luminance 0.238; OKLCH L 61.4% C 0.112 H 232.5°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#2A8FBC
RGBrgb(42, 143, 188)
HSLhsl(198, 63%, 45%)
HSVhsv(198, 78%, 74%)
CMYKcmyk(77.7%, 23.9%, 0%, 26.3%)
CIE-LABlab(55.85, -13.06, -31.55)
CIE-LCHlch(55.85, 34.14, 247.52°)
OKLaboklab(61.36% -0.0681 -0.0889)
OKLCHoklch(61.36% 0.112 232.5)
XYZxyz(19.8507, 23.7656, 51.1082)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8FBC #BC572A
analogous
#2ABCA0 #2A8FBC #2A46BC
triadic
#2A8FBC #BC2A8F #8FBC2A
tetradic
#2A8FBC #A02ABC #BC572A #46BC2A
square
#2A8FBC #A02ABC #BC572A #46BC2A
split-complementary
#2A8FBC #BC2A46 #BCA02A
monochromatic
#144358 #1F698A #2A8FBC #4CACD7 #7EC3E2

Accessibility & contrast

On white

3.65
#2A8FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#2A8FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8FBC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8FBC#FFFFFF#000000##000000
##2A8FBC1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#798EBE
Deuteranopia (green-blind)
#6580BB
Tritanopia (blue-blind)
#009B9E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2a8fbc;
/* rgb */ color: rgb(42, 143, 188);
/* oklch */ color: oklch(61.4% 0.112 232.5);
Tailwind
colors: {
  custom: {
    50: '#7aafd0',
    500: '#2a8fbc',
    950: '#000000',
  },
}
SCSS
$custom: #2a8fbc;
$custom-light: #7aafd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8fbc",
  "rgb": {
    "r": 42,
    "g": 143,
    "b": 188
  },
  "hsl": {
    "h": 198.493,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.61363,
    "c": 0.11195,
    "h": 232.5
  },
  "luminance": 0.23768
}

Semantic roles & 50–950 ramp

primary
#2A8FBC
secondary
#CB9177
accent
#7441E7
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #2A8FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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