#3A8FB1#3A8FB1

#3A8FB1 is a mid, moderate cyan. Relative luminance 0.237; OKLCH L 61.3% C 0.095 H 227.9°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#3A8FB1
RGBrgb(58, 143, 177)
HSLhsl(197, 51%, 46%)
HSVhsv(197, 67%, 69%)
CMYKcmyk(67.2%, 19.2%, 0%, 30.6%)
CIE-LABlab(55.80, -14.60, -25.33)
CIE-LCHlch(55.80, 29.23, 240.04°)
OKLaboklab(61.29% -0.064 -0.0709)
OKLCHoklch(61.29% 0.095 227.9)
XYZxyz(19.5000, 23.7167, 45.1365)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8FB1 #B15C3A
analogous
#3AB197 #3A8FB1 #3A53B1
triadic
#3A8FB1 #B13A8F #8FB13A
tetradic
#3A8FB1 #973AB1 #B15C3A #53B13A
square
#3A8FB1 #973AB1 #B15C3A #53B13A
split-complementary
#3A8FB1 #B13A53 #B1973A
monochromatic
#1C4555 #2B6A83 #3A8FB1 #5EABCA #8CC3D9

Accessibility & contrast

On white

3.66
#3A8FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#3A8FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8FB1
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8FB1#FFFFFF#000000##000000
##3A8FB11.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8DB3
Deuteranopia (green-blind)
#6D80B1
Tritanopia (blue-blind)
#00999A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #3a8fb1;
/* rgb */ color: rgb(58, 143, 177);
/* oklch */ color: oklch(61.3% 0.095 227.9);
Tailwind
colors: {
  custom: {
    50: '#7eafc8',
    500: '#3a8fb1',
    950: '#000000',
  },
}
SCSS
$custom: #3a8fb1;
$custom-light: #7eafc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8fb1",
  "rgb": {
    "r": 58,
    "g": 143,
    "b": 177
  },
  "hsl": {
    "h": 197.143,
    "s": 50.638,
    "l": 46.078
  },
  "oklch": {
    "l": 0.61288,
    "c": 0.09547,
    "h": 227.9
  },
  "luminance": 0.23719
}

Semantic roles & 50–950 ramp

primary
#3A8FB1
secondary
#C49583
accent
#764EDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3A8FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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