#3A8BB1#3A8BB1

#3A8BB1 is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.3% C 0.097 H 231.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#3A8BB1
RGBrgb(58, 139, 177)
HSLhsl(199, 51%, 46%)
HSVhsv(199, 67%, 69%)
CMYKcmyk(67.2%, 21.5%, 0%, 30.6%)
CIE-LABlab(54.59, -12.38, -27.20)
CIE-LCHlch(54.59, 29.89, 245.52°)
OKLaboklab(60.32% -0.0598 -0.0762)
OKLCHoklch(60.32% 0.097 231.9)
XYZxyz(18.9102, 22.5371, 44.9399)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8BB1 #B1603A
analogous
#3AB19B #3A8BB1 #3A4FB1
triadic
#3A8BB1 #B13A8B #8BB13A
tetradic
#3A8BB1 #9B3AB1 #B1603A #4FB13A
square
#3A8BB1 #9B3AB1 #B1603A #4FB13A
split-complementary
#3A8BB1 #B13A4F #B19B3A
monochromatic
#1C4355 #2B6783 #3A8BB1 #5EA8CA #8CC1D9

Accessibility & contrast

On white

3.81
#3A8BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#3A8BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8BB1
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8BB1#FFFFFF#000000##000000
##3A8BB11.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7889B3
Deuteranopia (green-blind)
#687DB0
Tritanopia (blue-blind)
#009598
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #3a8bb1;
/* rgb */ color: rgb(58, 139, 177);
/* oklch */ color: oklch(60.3% 0.097 231.9);
Tailwind
colors: {
  custom: {
    50: '#7eacc8',
    500: '#3a8bb1',
    950: '#000000',
  },
}
SCSS
$custom: #3a8bb1;
$custom-light: #7eacc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8bb1",
  "rgb": {
    "r": 58,
    "g": 139,
    "b": 177
  },
  "hsl": {
    "h": 199.16,
    "s": 50.638,
    "l": 46.078
  },
  "oklch": {
    "l": 0.60322,
    "c": 0.09688,
    "h": 231.9
  },
  "luminance": 0.22539
}

Semantic roles & 50–950 ramp

primary
#3A8BB1
secondary
#C49883
accent
#7B4EDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3A8BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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