#4187D9#4187D9

#4187D9 is a mid, vivid cyan. Relative luminance 0.235; OKLCH L 61.8% C 0.143 H 254.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4187D9
RGBrgb(65, 135, 217)
HSLhsl(212, 67%, 55%)
HSVhsv(212, 70%, 85%)
CMYKcmyk(70%, 37.8%, 0%, 14.9%)
CIE-LABlab(55.54, 4.84, -48.38)
CIE-LCHlch(55.54, 48.62, 275.71°)
OKLaboklab(61.76% -0.0392 -0.1378)
OKLCHoklch(61.76% 0.143 254.1)
XYZxyz(23.3637, 23.4590, 68.9289)
Luminance0.2346 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4187D9 #D99341
analogous
#41D3D9 #4187D9 #4741D9
triadic
#4187D9 #D94187 #87D941
tetradic
#4187D9 #D941D3 #D99341 #41D947
square
#4187D9 #D941D3 #D99341 #41D947
split-complementary
#4187D9 #D94741 #D3D941
monochromatic
#1B4C85 #2569B8 #4187D9 #74A7E3 #A7C7ED

Accessibility & contrast

On white

3.69
#4187D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#4187D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4187D9
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4187D9#FFFFFF#000000##000000
##4187D91.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4187d9;
/* rgb */ color: rgb(65, 135, 217);
/* oklch */ color: oklch(61.8% 0.143 254.1);
Tailwind
colors: {
  custom: {
    50: '#87a9e5',
    500: '#4187d9',
    950: '#000000',
  },
}
SCSS
$custom: #4187d9;
$custom-light: #87a9e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4187d9",
  "rgb": {
    "r": 65,
    "g": 135,
    "b": 217
  },
  "hsl": {
    "h": 212.368,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61756,
    "c": 0.14324,
    "h": 254.1
  },
  "luminance": 0.23462
}

Semantic roles & 50–950 ramp

primary
#4187D9
secondary
#DBBD9B
accent
#9B3EEA
background
#F8FAFE
surface
#F0F4FC
border
#CBCED5
text
#0D0F16
muted
#7D7F84

Preview Lab

Preview with #4187D9

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

Preview Lab → · Contrast checker → · Palette generator →

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