#4048D3#4048D3

#4048D3 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.8% C 0.209 H 273.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#4048D3
RGBrgb(64, 72, 211)
HSLhsl(237, 63%, 54%)
HSVhsv(237, 70%, 83%)
CMYKcmyk(69.7%, 65.9%, 0%, 17.3%)
CIE-LABlab(38.60, 41.81, -72.33)
CIE-LCHlch(38.60, 83.54, 300.03°)
OKLaboklab(48.78% 0.0113 -0.209)
OKLCHoklch(48.78% 0.209 273.1)
XYZxyz(16.1857, 10.4263, 62.7749)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4048D3 #D3CB40
analogous
#4092D3 #4048D3 #8240D3
triadic
#4048D3 #D34048 #48D340
tetradic
#4048D3 #D34092 #D3CB40 #40D382
square
#4048D3 #D34092 #D3CB40 #40D382
split-complementary
#4048D3 #D38240 #92D340
monochromatic
#1D227C #282FAE #4048D3 #7278DE #A3A7EA

Accessibility & contrast

On white

6.81
#4048D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4048D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4048D3
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4048D3#FFFFFF#000000##FFFFFF
##4048D31.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#0054D0
Tritanopia (blue-blind)
#006D87
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4048d3;
/* rgb */ color: rgb(64, 72, 211);
/* oklch */ color: oklch(48.8% 0.209 273.1);
Tailwind
colors: {
  custom: {
    50: '#887be2',
    500: '#4048d3',
    950: '#000000',
  },
}
SCSS
$custom: #4048d3;
$custom-light: #887be2;
$custom-dark: #000000;
JSON
{
  "hex": "#4048d3",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 211
  },
  "hsl": {
    "h": 236.735,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48776,
    "c": 0.20927,
    "h": 273.1
  },
  "luminance": 0.10428
}

Semantic roles & 50–950 ramp

primary
#4048D3
secondary
#D7D398
accent
#DD42E6
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0915
muted
#7E7B84

Preview Lab

Preview with #4048D3

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

Preview Lab → · Contrast checker → · Palette generator →

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