#4187EA#4187EA

#4187EA is a light, vivid blue. Relative luminance 0.244; OKLCH L 62.8% C 0.165 H 257.6°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4187EA
RGBrgb(65, 135, 234)
HSLhsl(215, 80%, 59%)
HSVhsv(215, 72%, 92%)
CMYKcmyk(72.2%, 42.3%, 0%, 8.2%)
CIE-LABlab(56.48, 10.88, -56.40)
CIE-LCHlch(56.48, 57.44, 280.92°)
OKLaboklab(62.79% -0.0355 -0.1613)
OKLCHoklch(62.79% 0.165 257.6)
XYZxyz(25.6898, 24.3894, 81.1797)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4187EA #EAA441
analogous
#41DBEA #4187EA #4F41EA
triadic
#4187EA #EA4187 #87EA41
tetradic
#4187EA #EA41DB #EAA441 #41EA4F
square
#4187EA #EA41DB #EAA441 #41EA4F
split-complementary
#4187EA #EA4F41 #DBEA41
monochromatic
#124C9F #1867D6 #4187EA #78AAF0 #AFCDF6

Accessibility & contrast

On white

3.57
#4187EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#4187EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4187EA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4187EA#FFFFFF#000000##000000
##4187EA1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5790EE
Deuteranopia (green-blind)
#3980E8
Tritanopia (blue-blind)
#009EAD
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4187ea;
/* rgb */ color: rgb(65, 135, 234);
/* oklch */ color: oklch(62.8% 0.165 257.6);
Tailwind
colors: {
  custom: {
    50: '#8aa9f1',
    500: '#4187ea',
    950: '#000000',
  },
}
SCSS
$custom: #4187ea;
$custom-light: #8aa9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4187ea",
  "rgb": {
    "r": 65,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 215.148,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62785,
    "c": 0.16515,
    "h": 257.6
  },
  "luminance": 0.24392
}

Semantic roles & 50–950 ramp

primary
#4187EA
secondary
#E5C9A2
accent
#A531F7
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F17
muted
#7E7F85

Preview Lab

Preview with #4187EA

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

Preview Lab → · Contrast checker → · Palette generator →

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