#3A8FB7#3A8FB7

#3A8FB7 is a mid, moderate cyan. Relative luminance 0.240; OKLCH L 61.6% C 0.101 H 232.2°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#3A8FB7
RGBrgb(58, 143, 183)
HSLhsl(199, 52%, 47%)
HSVhsv(199, 68%, 72%)
CMYKcmyk(68.3%, 21.9%, 0%, 28.2%)
CIE-LABlab(56.05, -12.61, -28.37)
CIE-LCHlch(56.05, 31.04, 246.03°)
OKLaboklab(61.57% -0.0618 -0.0796)
OKLCHoklch(61.57% 0.101 232.2)
XYZxyz(20.1112, 23.9612, 48.3556)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8FB7 #B7623A
analogous
#3AB7A1 #3A8FB7 #3A51B7
triadic
#3A8FB7 #B73A8F #8FB73A
tetradic
#3A8FB7 #A13AB7 #B7623A #51B73A
square
#3A8FB7 #A13AB7 #B7623A #51B73A
split-complementary
#3A8FB7 #B73A51 #B7A13A
monochromatic
#1D465A #2B6B89 #3A8FB7 #61ABCD #90C3DC

Accessibility & contrast

On white

3.63
#3A8FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#3A8FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8FB7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8FB7#FFFFFF#000000##000000
##3A8FB71.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8DB9
Deuteranopia (green-blind)
#6A81B6
Tritanopia (blue-blind)
#009A9C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #3a8fb7;
/* rgb */ color: rgb(58, 143, 183);
/* oklch */ color: oklch(61.6% 0.101 232.2);
Tailwind
colors: {
  custom: {
    50: '#7fafcc',
    500: '#3a8fb7',
    950: '#000000',
  },
}
SCSS
$custom: #3a8fb7;
$custom-light: #7fafcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8fb7",
  "rgb": {
    "r": 58,
    "g": 143,
    "b": 183
  },
  "hsl": {
    "h": 199.2,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.61566,
    "c": 0.10074,
    "h": 232.2
  },
  "luminance": 0.23963
}

Semantic roles & 50–950 ramp

primary
#3A8FB7
secondary
#C79B86
accent
#7A4CDB
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3A8FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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