#2A8FB1#2A8FB1

#2A8FB1 is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 60.8% C 0.103 H 225.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2A8FB1
RGBrgb(42, 143, 177)
HSLhsl(195, 62%, 43%)
HSVhsv(195, 76%, 69%)
CMYKcmyk(76.3%, 19.2%, 0%, 30.6%)
CIE-LABlab(55.39, -16.86, -26.00)
CIE-LCHlch(55.39, 30.99, 237.04°)
OKLaboklab(60.84% -0.0721 -0.0729)
OKLCHoklch(60.84% 0.103 225.3)
XYZxyz(18.7098, 23.3092, 45.0995)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8FB1 #B14C2A
analogous
#2AB18F #2A8FB1 #2A4BB1
triadic
#2A8FB1 #B12A8F #8FB12A
tetradic
#2A8FB1 #8F2AB1 #B14C2A #4BB12A
square
#2A8FB1 #8F2AB1 #B14C2A #4BB12A
split-complementary
#2A8FB1 #B12A4B #B18F2A
monochromatic
#133F4E #1E6780 #2A8FB1 #45AFD3 #77C4DF

Accessibility & contrast

On white

3.71
#2A8FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#2A8FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8FB1
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8FB1#FFFFFF#000000##000000
##2A8FB11.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8CB3
Deuteranopia (green-blind)
#6A7FB1
Tritanopia (blue-blind)
#00999A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a8fb1;
/* rgb */ color: rgb(42, 143, 177);
/* oklch */ color: oklch(60.8% 0.103 225.3);
Tailwind
colors: {
  custom: {
    50: '#78b0c8',
    500: '#2a8fb1',
    950: '#000000',
  },
}
SCSS
$custom: #2a8fb1;
$custom-light: #78b0c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8fb1",
  "rgb": {
    "r": 42,
    "g": 143,
    "b": 177
  },
  "hsl": {
    "h": 195.111,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.6084,
    "c": 0.10255,
    "h": 225.3
  },
  "luminance": 0.23311
}

Semantic roles & 50–950 ramp

primary
#2A8FB1
secondary
#C68670
accent
#6C43E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A8FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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