#4187D7#4187D7

#4187D7 is a mid, vivid cyan. Relative luminance 0.234; OKLCH L 61.6% C 0.141 H 253.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4187D7
RGBrgb(65, 135, 215)
HSLhsl(212, 65%, 55%)
HSVhsv(212, 70%, 84%)
CMYKcmyk(69.8%, 37.2%, 0%, 15.7%)
CIE-LABlab(55.44, 4.14, -47.42)
CIE-LCHlch(55.44, 47.60, 274.98°)
OKLaboklab(61.64% -0.0397 -0.1349)
OKLCHoklch(61.64% 0.141 253.6)
XYZxyz(23.1052, 23.3556, 67.5672)
Luminance0.2336 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4187D7 #D79141
analogous
#41D2D7 #4187D7 #4641D7
triadic
#4187D7 #D74187 #87D741
tetradic
#4187D7 #D741D2 #D79141 #41D746
square
#4187D7 #D741D2 #D79141 #41D746
split-complementary
#4187D7 #D74641 #D2D741
monochromatic
#1B4B82 #2669B5 #4187D7 #74A7E2 #A6C7EC

Accessibility & contrast

On white

3.70
#4187D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#4187D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4187D7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4187D7#FFFFFF#000000##000000
##4187D71.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#638CDA
Deuteranopia (green-blind)
#4C7ED5
Tritanopia (blue-blind)
#009AA5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4187d7;
/* rgb */ color: rgb(65, 135, 215);
/* oklch */ color: oklch(61.6% 0.141 253.6);
Tailwind
colors: {
  custom: {
    50: '#86a9e4',
    500: '#4187d7',
    950: '#000000',
  },
}
SCSS
$custom: #4187d7;
$custom-light: #86a9e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4187d7",
  "rgb": {
    "r": 65,
    "g": 135,
    "b": 215
  },
  "hsl": {
    "h": 212,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6164,
    "c": 0.14067,
    "h": 253.6
  },
  "luminance": 0.23358
}

Semantic roles & 50–950 ramp

primary
#4187D7
secondary
#D9BC9A
accent
#9A40E8
background
#F8FAFE
surface
#F0F4FC
border
#CBCED5
text
#0C0F15
muted
#7D7F84

Preview Lab

Preview with #4187D7

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

Preview Lab → · Contrast checker → · Palette generator →

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