#3787E5#3787E5

#3787E5 is a light, vivid cyan. Relative luminance 0.238; OKLCH L 62.1% C 0.162 H 254.7°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#3787E5
RGBrgb(55, 135, 229)
HSLhsl(212, 77%, 56%)
HSVhsv(212, 76%, 90%)
CMYKcmyk(76%, 41%, 0%, 10.2%)
CIE-LABlab(55.88, 7.84, -54.58)
CIE-LCHlch(55.88, 55.14, 278.18°)
OKLaboklab(62.15% -0.0427 -0.1561)
OKLCHoklch(62.15% 0.162 254.7)
XYZxyz(24.3771, 23.7945, 77.4216)
Luminance0.2380 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3787E5 #E59537
analogous
#37DEE5 #3787E5 #3E37E5
triadic
#3787E5 #E53787 #87E537
tetradic
#3787E5 #E537DE #E59537 #37E53E
square
#3787E5 #E537DE #E59537 #37E53E
split-complementary
#3787E5 #E53E37 #DEE537
monochromatic
#134C8F #1A68C5 #3787E5 #6DA7EC #A3C8F3

Accessibility & contrast

On white

3.65
#3787E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#3787E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3787E5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3787E5#FFFFFF#000000##000000
##3787E51.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#598FE9
Deuteranopia (green-blind)
#3B7FE3
Tritanopia (blue-blind)
#009DAB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #3787e5;
/* rgb */ color: rgb(55, 135, 229);
/* oklch */ color: oklch(62.1% 0.162 254.7);
Tailwind
colors: {
  custom: {
    50: '#85a9ee',
    500: '#3787e5',
    950: '#000000',
  },
}
SCSS
$custom: #3787e5;
$custom-light: #85a9ee;
$custom-dark: #000000;
JSON
{
  "hex": "#3787e5",
  "rgb": {
    "r": 55,
    "g": 135,
    "b": 229
  },
  "hsl": {
    "h": 212.414,
    "s": 76.991,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62145,
    "c": 0.16181,
    "h": 254.7
  },
  "luminance": 0.23797
}

Semantic roles & 50–950 ramp

primary
#3787E5
secondary
#E0BF98
accent
#9C34F4
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #3787E5

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

Preview Lab → · Contrast checker → · Palette generator →

#3787E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva