#3F8AAA#3F8AAA

#3F8AAA is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 59.9% C 0.088 H 228.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#3F8AAA
RGBrgb(63, 138, 170)
HSLhsl(198, 46%, 46%)
HSVhsv(198, 63%, 67%)
CMYKcmyk(62.9%, 18.8%, 0%, 33.3%)
CIE-LABlab(54.17, -13.26, -23.82)
CIE-LCHlch(54.17, 27.26, 240.91°)
OKLaboklab(59.94% -0.0581 -0.0665)
OKLCHoklch(59.94% 0.088 228.9)
XYZxyz(18.3912, 22.1341, 41.3255)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8AAA #AA5F3F
analogous
#3FAA94 #3F8AAA #3F54AA
triadic
#3F8AAA #AA3F8A #8AAA3F
tetradic
#3F8AAA #943FAA #AA5F3F #54AA3F
square
#3F8AAA #943FAA #AA5F3F #54AA3F
split-complementary
#3F8AAA #AA3F54 #AA943F
monochromatic
#1E4251 #2E667D #3F8AAA #62A7C5 #8EC0D5

Accessibility & contrast

On white

3.87
#3F8AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#3F8AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8AAA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8AAA#FFFFFF#000000##000000
##3F8AAA1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7988AC
Deuteranopia (green-blind)
#6A7DAA
Tritanopia (blue-blind)
#009394
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #3f8aaa;
/* rgb */ color: rgb(63, 138, 170);
/* oklch */ color: oklch(59.9% 0.088 228.9);
Tailwind
colors: {
  custom: {
    50: '#7facc3',
    500: '#3f8aaa',
    950: '#000000',
  },
}
SCSS
$custom: #3f8aaa;
$custom-light: #7facc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8aaa",
  "rgb": {
    "r": 63,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 197.944,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.59937,
    "c": 0.08835,
    "h": 228.9
  },
  "luminance": 0.22136
}

Semantic roles & 50–950 ramp

primary
#3F8AAA
secondary
#C09685
accent
#7A52D6
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #3F8AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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