#4048D0#4048D0

#4048D0 is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.5% C 0.205 H 273.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#4048D0
RGBrgb(64, 72, 208)
HSLhsl(237, 61%, 53%)
HSVhsv(237, 69%, 82%)
CMYKcmyk(69.2%, 65.4%, 0%, 18.4%)
CIE-LABlab(38.34, 40.79, -71.02)
CIE-LCHlch(38.34, 81.90, 299.87°)
OKLaboklab(48.51% 0.0116 -0.2051)
OKLCHoklch(48.51% 0.205 273.2)
XYZxyz(15.8131, 10.2773, 60.8126)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4048D0 #D0C840
analogous
#4090D0 #4048D0 #8040D0
triadic
#4048D0 #D04048 #48D040
tetradic
#4048D0 #D04090 #D0C840 #40D080
square
#4048D0 #D04090 #D0C840 #40D080
split-complementary
#4048D0 #D08040 #90D040
monochromatic
#1E2378 #2A31A9 #4048D0 #7177DC #A2A6E8

Accessibility & contrast

On white

6.87
#4048D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4048D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4048D0
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4048D0#FFFFFF#000000##FFFFFF
##4048D01.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D4
Deuteranopia (green-blind)
#0054CD
Tritanopia (blue-blind)
#006C86
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4048d0;
/* rgb */ color: rgb(64, 72, 208);
/* oklch */ color: oklch(48.5% 0.205 273.2);
Tailwind
colors: {
  custom: {
    50: '#877bdf',
    500: '#4048d0',
    950: '#000000',
  },
}
SCSS
$custom: #4048d0;
$custom-light: #877bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#4048d0",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 208
  },
  "hsl": {
    "h": 236.667,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48506,
    "c": 0.20548,
    "h": 273.2
  },
  "luminance": 0.10279
}

Semantic roles & 50–950 ramp

primary
#4048D0
secondary
#D5D197
accent
#DB44E4
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4048D0

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

Preview Lab → · Contrast checker → · Palette generator →

#4048D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva