#4187DB#4187DB

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

Color values

HEX#4187DB
RGBrgb(65, 135, 219)
HSLhsl(213, 68%, 56%)
HSVhsv(213, 70%, 86%)
CMYKcmyk(70.3%, 38.4%, 0%, 14.1%)
CIE-LABlab(55.65, 5.55, -49.33)
CIE-LCHlch(55.65, 49.65, 276.42°)
OKLaboklab(61.87% -0.0388 -0.1405)
OKLCHoklch(61.87% 0.146 254.6)
XYZxyz(23.6254, 23.5637, 70.3072)
Luminance0.2357 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4187DB #DB9541
analogous
#41D4DB #4187DB #4841DB
triadic
#4187DB #DB4187 #87DB41
tetradic
#4187DB #DB41D4 #DB9541 #41DB48
square
#4187DB #DB41D4 #DB9541 #41DB48
split-complementary
#4187DB #DB4841 #D4DB41
monochromatic
#1A4C88 #2368BB #4187DB #74A7E5 #A8C8EE

Accessibility & contrast

On white

3.68
#4187DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#4187DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4187DB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4187DB#FFFFFF#000000##000000
##4187DB1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#608DDE
Deuteranopia (green-blind)
#497FD9
Tritanopia (blue-blind)
#009BA6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4187db;
/* rgb */ color: rgb(65, 135, 219);
/* oklch */ color: oklch(61.9% 0.146 254.6);
Tailwind
colors: {
  custom: {
    50: '#87a9e6',
    500: '#4187db',
    950: '#000000',
  },
}
SCSS
$custom: #4187db;
$custom-light: #87a9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4187db",
  "rgb": {
    "r": 65,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 212.727,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61874,
    "c": 0.1458,
    "h": 254.6
  },
  "luminance": 0.23566
}

Semantic roles & 50–950 ramp

primary
#4187DB
secondary
#DCBF9C
accent
#9C3DEB
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4187DB

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

Preview Lab → · Contrast checker → · Palette generator →

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