#3A87BF#3A87BF

#3A87BF is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 60.1% C 0.114 H 243.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#3A87BF
RGBrgb(58, 135, 191)
HSLhsl(205, 53%, 49%)
HSVhsv(205, 70%, 75%)
CMYKcmyk(69.6%, 29.3%, 0%, 25.1%)
CIE-LABlab(54.01, -5.33, -36.10)
CIE-LCHlch(54.01, 36.49, 261.60°)
OKLaboklab(60.07% -0.0509 -0.102)
OKLCHoklch(60.07% 0.114 243.5)
XYZxyz(19.8093, 21.9869, 52.4800)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A87BF #BF723A
analogous
#3ABFB5 #3A87BF #3A45BF
triadic
#3A87BF #BF3A87 #87BF3A
tetradic
#3A87BF #B53ABF #BF723A #45BF3A
square
#3A87BF #B53ABF #BF723A #45BF3A
split-complementary
#3A87BF #BF3A45 #BFB53A
monochromatic
#1D4561 #2C6690 #3A87BF #66A4D0 #95C0DF

Accessibility & contrast

On white

3.89
#3A87BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#3A87BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A87BF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A87BF#FFFFFF#000000##000000
##3A87BF1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E88C1
Deuteranopia (green-blind)
#5B7BBE
Tritanopia (blue-blind)
#00959B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #3a87bf;
/* rgb */ color: rgb(58, 135, 191);
/* oklch */ color: oklch(60.1% 0.114 243.5);
Tailwind
colors: {
  custom: {
    50: '#80a9d2',
    500: '#3a87bf',
    950: '#000000',
  },
}
SCSS
$custom: #3a87bf;
$custom-light: #80a9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a87bf",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 205.263,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.60066,
    "c": 0.11399,
    "h": 243.5
  },
  "luminance": 0.21989
}

Semantic roles & 50–950 ramp

primary
#3A87BF
secondary
#CAA58B
accent
#884BDD
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #3A87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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