#3A8FB8#3A8FB8

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

Color values

HEX#3A8FB8
RGBrgb(58, 143, 184)
HSLhsl(200, 52%, 47%)
HSVhsv(200, 68%, 72%)
CMYKcmyk(68.5%, 22.3%, 0%, 27.8%)
CIE-LABlab(56.09, -12.28, -28.87)
CIE-LCHlch(56.09, 31.37, 246.97°)
OKLaboklab(61.61% -0.0614 -0.081)
OKLCHoklch(61.61% 0.102 232.8)
XYZxyz(20.2157, 24.0030, 48.9057)
Luminance0.2401 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8FB8 #B8633A
analogous
#3AB8A2 #3A8FB8 #3A50B8
triadic
#3A8FB8 #B83A8F #8FB83A
tetradic
#3A8FB8 #A23AB8 #B8633A #50B83A
square
#3A8FB8 #A23AB8 #B8633A #50B83A
split-complementary
#3A8FB8 #B83A50 #B8A23A
monochromatic
#1D475B #2B6B89 #3A8FB8 #62AACD #90C3DC

Accessibility & contrast

On white

3.62
#3A8FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#3A8FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8FB8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8FB8#FFFFFF#000000##000000
##3A8FB81.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8DBA
Deuteranopia (green-blind)
#6981B7
Tritanopia (blue-blind)
#009A9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #3a8fb8;
/* rgb */ color: rgb(58, 143, 184);
/* oklch */ color: oklch(61.6% 0.102 232.8);
Tailwind
colors: {
  custom: {
    50: '#7fafcd',
    500: '#3a8fb8',
    950: '#000000',
  },
}
SCSS
$custom: #3a8fb8;
$custom-light: #7fafcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8fb8",
  "rgb": {
    "r": 58,
    "g": 143,
    "b": 184
  },
  "hsl": {
    "h": 199.524,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.61613,
    "c": 0.10167,
    "h": 232.8
  },
  "luminance": 0.24005
}

Semantic roles & 50–950 ramp

primary
#3A8FB8
secondary
#C79C87
accent
#7B4CDC
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3A8FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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