#4048D1#4048D1

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

Color values

HEX#4048D1
RGBrgb(64, 72, 209)
HSLhsl(237, 61%, 54%)
HSVhsv(237, 69%, 82%)
CMYKcmyk(69.4%, 65.6%, 0%, 18%)
CIE-LABlab(38.42, 41.13, -71.46)
CIE-LCHlch(38.42, 82.45, 299.93°)
OKLaboklab(48.6% 0.0115 -0.2064)
OKLCHoklch(48.6% 0.207 273.2)
XYZxyz(15.9365, 10.3266, 61.4626)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4048D1 #D1C940
analogous
#4090D1 #4048D1 #8040D1
triadic
#4048D1 #D14048 #48D140
tetradic
#4048D1 #D14090 #D1C940 #40D180
square
#4048D1 #D14090 #D1C940 #40D180
split-complementary
#4048D1 #D18040 #90D140
monochromatic
#1D2279 #2930AB #4048D1 #7177DD #A3A7E9

Accessibility & contrast

On white

6.85
#4048D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4048D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4048D1
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4048D1#FFFFFF#000000##FFFFFF
##4048D11.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4048d1;
/* rgb */ color: rgb(64, 72, 209);
/* oklch */ color: oklch(48.6% 0.207 273.2);
Tailwind
colors: {
  custom: {
    50: '#887be0',
    500: '#4048d1',
    950: '#000000',
  },
}
SCSS
$custom: #4048d1;
$custom-light: #887be0;
$custom-dark: #000000;
JSON
{
  "hex": "#4048d1",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 209
  },
  "hsl": {
    "h": 236.69,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48596,
    "c": 0.20675,
    "h": 273.2
  },
  "luminance": 0.10328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4048D1

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

Preview Lab → · Contrast checker → · Palette generator →

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