#2A8FBF#2A8FBF

#2A8FBF is a mid, moderate cyan. Relative luminance 0.239; OKLCH L 61.5% C 0.115 H 234.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#2A8FBF
RGBrgb(42, 143, 191)
HSLhsl(199, 64%, 46%)
HSVhsv(199, 78%, 75%)
CMYKcmyk(78%, 25.1%, 0%, 25.1%)
CIE-LABlab(55.98, -12.00, -33.05)
CIE-LCHlch(55.98, 35.16, 250.04°)
OKLaboklab(61.51% -0.067 -0.0932)
OKLCHoklch(61.51% 0.115 234.3)
XYZxyz(20.1775, 23.8963, 52.8291)
Luminance0.2390 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8FBF #BF5A2A
analogous
#2ABFA4 #2A8FBF #2A44BF
triadic
#2A8FBF #BF2A8F #8FBF2A
tetradic
#2A8FBF #A42ABF #BF5A2A #44BF2A
square
#2A8FBF #A42ABF #BF5A2A #44BF2A
split-complementary
#2A8FBF #BF2A44 #BFA42A
monochromatic
#14445B #1F698D #2A8FBF #4EACD8 #80C3E3

Accessibility & contrast

On white

3.63
#2A8FBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#2A8FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8FBF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8FBF#FFFFFF#000000##000000
##2A8FBF1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#778EC1
Deuteranopia (green-blind)
#6480BE
Tritanopia (blue-blind)
#009C9F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2a8fbf;
/* rgb */ color: rgb(42, 143, 191);
/* oklch */ color: oklch(61.5% 0.115 234.3);
Tailwind
colors: {
  custom: {
    50: '#7aafd2',
    500: '#2a8fbf',
    950: '#000000',
  },
}
SCSS
$custom: #2a8fbf;
$custom-light: #7aafd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8fbf",
  "rgb": {
    "r": 42,
    "g": 143,
    "b": 191
  },
  "hsl": {
    "h": 199.329,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.61511,
    "c": 0.1148,
    "h": 234.3
  },
  "luminance": 0.23899
}

Semantic roles & 50–950 ramp

primary
#2A8FBF
secondary
#CC9479
accent
#7641E7
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #2A8FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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