#4187D8#4187D8

#4187D8 is a mid, vivid cyan. Relative luminance 0.234; OKLCH L 61.7% C 0.142 H 253.9°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4187D8
RGBrgb(65, 135, 216)
HSLhsl(212, 66%, 55%)
HSVhsv(212, 70%, 85%)
CMYKcmyk(69.9%, 37.5%, 0%, 15.3%)
CIE-LABlab(55.49, 4.49, -47.90)
CIE-LCHlch(55.49, 48.11, 275.35°)
OKLaboklab(61.7% -0.0395 -0.1364)
OKLCHoklch(61.7% 0.142 253.9)
XYZxyz(23.2340, 23.4071, 68.2460)
Luminance0.2341 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4187D8 #D89241
analogous
#41D3D8 #4187D8 #4641D8
triadic
#4187D8 #D84187 #87D841
tetradic
#4187D8 #D841D3 #D89241 #41D846
square
#4187D8 #D841D3 #D89241 #41D846
split-complementary
#4187D8 #D84641 #D3D841
monochromatic
#1B4B84 #2569B6 #4187D8 #74A7E2 #A7C7ED

Accessibility & contrast

On white

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

On black

5.68
#4187D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4187D8
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4187D8#FFFFFF#000000##000000
##4187D81.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#628DDB
Deuteranopia (green-blind)
#4C7ED6
Tritanopia (blue-blind)
#009AA5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4187d8;
/* rgb */ color: rgb(65, 135, 216);
/* oklch */ color: oklch(61.7% 0.142 253.9);
Tailwind
colors: {
  custom: {
    50: '#87a9e4',
    500: '#4187d8',
    950: '#000000',
  },
}
SCSS
$custom: #4187d8;
$custom-light: #87a9e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4187d8",
  "rgb": {
    "r": 65,
    "g": 135,
    "b": 216
  },
  "hsl": {
    "h": 212.185,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61698,
    "c": 0.14196,
    "h": 253.9
  },
  "luminance": 0.2341
}

Semantic roles & 50–950 ramp

primary
#4187D8
secondary
#DABD9B
accent
#9A3FE9
background
#F8FAFE
surface
#F0F4FC
border
#CBCED5
text
#0D0F15
muted
#7D7F84

Preview Lab

Preview with #4187D8

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

Preview Lab → · Contrast checker → · Palette generator →

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