#4875EF#4875EF

#4875EF is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.7% C 0.190 H 265.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4875EF
RGBrgb(72, 117, 239)
HSLhsl(224, 84%, 61%)
HSVhsv(224, 70%, 94%)
CMYKcmyk(69.9%, 51%, 0%, 6.3%)
CIE-LABlab(52.21, 24.68, -66.03)
CIE-LCHlch(52.21, 70.49, 290.49°)
OKLaboklab(59.68% -0.0144 -0.1898)
OKLCHoklch(59.68% 0.19 265.7)
XYZxyz(24.6083, 20.3298, 84.2718)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4875EF #EFC248
analogous
#48C9EF #4875EF #6E48EF
triadic
#4875EF #EF4875 #75EF48
tetradic
#4875EF #EF48C9 #EFC248 #48EF6E
square
#4875EF #EF48C9 #EFC248 #48EF6E
split-complementary
#4875EF #EF6E48 #C9EF48
monochromatic
#0F3AAD #144DE6 #4875EF #809FF4 #B9CAF9

Accessibility & contrast

On white

4.14
#4875EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#4875EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4875EF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4875EF#FFFFFF#000000##000000
##4875EF1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2785F3
Deuteranopia (green-blind)
#0075ED
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4875ef;
/* rgb */ color: rgb(72, 117, 239);
/* oklch */ color: oklch(59.7% 0.190 265.7);
Tailwind
colors: {
  custom: {
    50: '#8e9cf5',
    500: '#4875ef',
    950: '#000000',
  },
}
SCSS
$custom: #4875ef;
$custom-light: #8e9cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#4875ef",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 239
  },
  "hsl": {
    "h": 223.832,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59684,
    "c": 0.19034,
    "h": 265.7
  },
  "luminance": 0.20332
}

Semantic roles & 50–950 ramp

primary
#4875EF
secondary
#E9D8AA
accent
#A505E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4875EF

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

Preview Lab → · Contrast checker → · Palette generator →

#4875EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva