#4187DC#4187DC

#4187DC is a mid, vivid cyan. Relative luminance 0.236; OKLCH L 61.9% C 0.147 H 254.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4187DC
RGBrgb(65, 135, 220)
HSLhsl(213, 69%, 56%)
HSVhsv(213, 70%, 86%)
CMYKcmyk(70.5%, 38.6%, 0%, 13.7%)
CIE-LABlab(55.70, 5.90, -49.81)
CIE-LCHlch(55.70, 50.16, 276.76°)
OKLaboklab(61.93% -0.0385 -0.1419)
OKLCHoklch(61.93% 0.147 254.8)
XYZxyz(23.7575, 23.6165, 71.0026)
Luminance0.2362 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4187DC #DC9641
analogous
#41D5DC #4187DC #4841DC
triadic
#4187DC #DC4187 #87DC41
tetradic
#4187DC #DC41D5 #DC9641 #41DC48
square
#4187DC #DC41D5 #DC9641 #41DC48
split-complementary
#4187DC #DC4841 #D5DC41
monochromatic
#194C89 #2368BD #4187DC #75A8E6 #A8C8EF

Accessibility & contrast

On white

3.67
#4187DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#4187DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4187DC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4187DC#FFFFFF#000000##000000
##4187DC1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#608DDF
Deuteranopia (green-blind)
#487FDA
Tritanopia (blue-blind)
#009BA7
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4187dc;
/* rgb */ color: rgb(65, 135, 220);
/* oklch */ color: oklch(61.9% 0.147 254.8);
Tailwind
colors: {
  custom: {
    50: '#87a9e7',
    500: '#4187dc',
    950: '#000000',
  },
}
SCSS
$custom: #4187dc;
$custom-light: #87a9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4187dc",
  "rgb": {
    "r": 65,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 212.903,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61933,
    "c": 0.14708,
    "h": 254.8
  },
  "luminance": 0.23619
}

Semantic roles & 50–950 ramp

primary
#4187DC
secondary
#DDC09C
accent
#9C3CEC
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4187DC

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

Preview Lab → · Contrast checker → · Palette generator →

#4187DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva