#4875F2#4875F2

#4875F2 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.9% C 0.194 H 265.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4875F2
RGBrgb(72, 117, 242)
HSLhsl(224, 87%, 62%)
HSVhsv(224, 70%, 95%)
CMYKcmyk(70.2%, 51.7%, 0%, 5.1%)
CIE-LABlab(52.41, 25.74, -67.38)
CIE-LCHlch(52.41, 72.13, 290.90°)
OKLaboklab(59.9% -0.0141 -0.1938)
OKLCHoklch(59.9% 0.194 265.8)
XYZxyz(25.0552, 20.5085, 86.6253)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4875F2 #F2C548
analogous
#48CAF2 #4875F2 #7048F2
triadic
#4875F2 #F24875 #75F248
tetradic
#4875F2 #F248CA #F2C548 #48F270
square
#4875F2 #F248CA #F2C548 #48F270
split-complementary
#4875F2 #F27048 #CAF248
monochromatic
#0D39B3 #114BEC #4875F2 #81A0F6 #BACBFA

Accessibility & contrast

On white

4.12
#4875F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4875F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4875F2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4875F2#FFFFFF#000000##000000
##4875F21.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2185F6
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4875f2;
/* rgb */ color: rgb(72, 117, 242);
/* oklch */ color: oklch(59.9% 0.194 265.8);
Tailwind
colors: {
  custom: {
    50: '#8f9cf7',
    500: '#4875f2',
    950: '#000000',
  },
}
SCSS
$custom: #4875f2;
$custom-light: #8f9cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#4875f2",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 242
  },
  "hsl": {
    "h": 224.118,
    "s": 86.735,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59899,
    "c": 0.19429,
    "h": 265.8
  },
  "luminance": 0.20511
}

Semantic roles & 50–950 ramp

primary
#4875F2
secondary
#EBDAAB
accent
#A802E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4875F2

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

Preview Lab → · Contrast checker → · Palette generator →

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