#2A8FB3#2A8FB3

#2A8FB3 is a mid, moderate cyan. Relative luminance 0.234; OKLCH L 60.9% C 0.104 H 226.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2A8FB3
RGBrgb(42, 143, 179)
HSLhsl(196, 62%, 43%)
HSVhsv(196, 77%, 70%)
CMYKcmyk(76.5%, 20.1%, 0%, 29.8%)
CIE-LABlab(55.47, -16.17, -27.01)
CIE-LCHlch(55.47, 31.49, 239.09°)
OKLaboklab(60.93% -0.0714 -0.0758)
OKLCHoklch(60.93% 0.104 226.7)
XYZxyz(18.9106, 23.3896, 46.1571)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8FB3 #B34E2A
analogous
#2AB392 #2A8FB3 #2A4BB3
triadic
#2A8FB3 #B32A8F #8FB32A
tetradic
#2A8FB3 #922AB3 #B34E2A #4BB32A
square
#2A8FB3 #922AB3 #B34E2A #4BB32A
split-complementary
#2A8FB3 #B32A4B #B3922A
monochromatic
#134050 #1E6781 #2A8FB3 #46AFD4 #78C4DF

Accessibility & contrast

On white

3.70
#2A8FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#2A8FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8FB3
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8FB3#FFFFFF#000000##000000
##2A8FB31.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8CB5
Deuteranopia (green-blind)
#697FB3
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a8fb3;
/* rgb */ color: rgb(42, 143, 179);
/* oklch */ color: oklch(60.9% 0.104 226.7);
Tailwind
colors: {
  custom: {
    50: '#78afca',
    500: '#2a8fb3',
    950: '#000000',
  },
}
SCSS
$custom: #2a8fb3;
$custom-light: #78afca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8fb3",
  "rgb": {
    "r": 42,
    "g": 143,
    "b": 179
  },
  "hsl": {
    "h": 195.766,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.60932,
    "c": 0.10412,
    "h": 226.7
  },
  "luminance": 0.23392
}

Semantic roles & 50–950 ramp

primary
#2A8FB3
secondary
#C78872
accent
#6D43E5
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2A8FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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