#2A8FB5#2A8FB5

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

Color values

HEX#2A8FB5
RGBrgb(42, 143, 181)
HSLhsl(196, 62%, 44%)
HSVhsv(196, 77%, 71%)
CMYKcmyk(76.8%, 21%, 0%, 29%)
CIE-LABlab(55.55, -15.48, -28.03)
CIE-LCHlch(55.55, 32.02, 241.08°)
OKLaboklab(61.03% -0.0706 -0.0787)
OKLCHoklch(61.03% 0.106 228.1)
XYZxyz(19.1144, 23.4711, 47.2301)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8FB5 #B5502A
analogous
#2AB595 #2A8FB5 #2A49B5
triadic
#2A8FB5 #B52A8F #8FB52A
tetradic
#2A8FB5 #952AB5 #B5502A #49B52A
square
#2A8FB5 #952AB5 #B5502A #49B52A
split-complementary
#2A8FB5 #B52A49 #B5952A
monochromatic
#134152 #1E6883 #2A8FB5 #48AED4 #79C4E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8FB5#FFFFFF#000000##000000
##2A8FB51.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)
#7B8DB7
Deuteranopia (green-blind)
#687FB4
Tritanopia (blue-blind)
#009A9C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a8fb5;
/* rgb */ color: rgb(42, 143, 181);
/* oklch */ color: oklch(61.0% 0.106 228.1);
Tailwind
colors: {
  custom: {
    50: '#79afcb',
    500: '#2a8fb5',
    950: '#000000',
  },
}
SCSS
$custom: #2a8fb5;
$custom-light: #79afcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8fb5",
  "rgb": {
    "r": 42,
    "g": 143,
    "b": 181
  },
  "hsl": {
    "h": 196.403,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.61026,
    "c": 0.10575,
    "h": 228.1
  },
  "luminance": 0.23473
}

Semantic roles & 50–950 ramp

primary
#2A8FB5
secondary
#C88A73
accent
#6F42E5
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A8FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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