#3781CC#3781CC

#3781CC is a mid, vivid cyan. Relative luminance 0.209; OKLCH L 59.3% C 0.136 H 251.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#3781CC
RGBrgb(55, 129, 204)
HSLhsl(210, 59%, 51%)
HSVhsv(210, 73%, 80%)
CMYKcmyk(73%, 36.8%, 0%, 20%)
CIE-LABlab(52.81, 2.39, -45.40)
CIE-LCHlch(52.81, 45.46, 273.02°)
OKLaboklab(59.3% -0.0433 -0.1292)
OKLCHoklch(59.3% 0.136 251.5)
XYZxyz(20.3208, 20.8701, 60.0724)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3781CC #CC8237
analogous
#37CCCC #3781CC #3737CC
triadic
#3781CC #CC3781 #81CC37
tetradic
#3781CC #CC37CC #CC8237 #37CC37
square
#3781CC #CC37CC #CC8237 #37CC37
split-complementary
#3781CC #CC3737 #CCCC37
monochromatic
#1C446D #28639E #3781CC #68A0D8 #99BEE5

Accessibility & contrast

On white

4.06
#3781CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#3781CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3781CC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3781CC#FFFFFF#000000##000000
##3781CC1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86CF
Deuteranopia (green-blind)
#4878CB
Tritanopia (blue-blind)
#00939D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3781cc;
/* rgb */ color: rgb(55, 129, 204);
/* oklch */ color: oklch(59.3% 0.136 251.5);
Tailwind
colors: {
  custom: {
    50: '#81a5dc',
    500: '#3781cc',
    950: '#000000',
  },
}
SCSS
$custom: #3781cc;
$custom-light: #81a5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3781cc",
  "rgb": {
    "r": 55,
    "g": 129,
    "b": 204
  },
  "hsl": {
    "h": 210.201,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59303,
    "c": 0.13629,
    "h": 251.5
  },
  "luminance": 0.20872
}

Semantic roles & 50–950 ramp

primary
#3781CC
secondary
#D0B08E
accent
#9445E3
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3781CC

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

Preview Lab → · Contrast checker → · Palette generator →

#3781CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva