#4048D6#4048D6

#4048D6 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.0% C 0.213 H 273.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#4048D6
RGBrgb(64, 72, 214)
HSLhsl(237, 65%, 55%)
HSVhsv(237, 70%, 84%)
CMYKcmyk(70.1%, 66.4%, 0%, 16.1%)
CIE-LABlab(38.86, 42.82, -73.62)
CIE-LCHlch(38.86, 85.17, 300.19°)
OKLaboklab(49.05% 0.011 -0.2127)
OKLCHoklch(49.05% 0.213 273)
XYZxyz(16.5652, 10.5781, 64.7741)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4048D6 #D6CE40
analogous
#4093D6 #4048D6 #8340D6
triadic
#4048D6 #D64048 #48D640
tetradic
#4048D6 #D64093 #D6CE40 #40D683
square
#4048D6 #D64093 #D6CE40 #40D683
split-complementary
#4048D6 #D68340 #93D640
monochromatic
#1B2180 #262EB2 #4048D6 #7278E1 #A5A9EC

Accessibility & contrast

On white

6.74
#4048D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4048D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4048D6
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4048D6#FFFFFF#000000##FFFFFF
##4048D61.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DA
Deuteranopia (green-blind)
#0055D3
Tritanopia (blue-blind)
#006E89
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4048d6;
/* rgb */ color: rgb(64, 72, 214);
/* oklch */ color: oklch(49.0% 0.213 273.0);
Tailwind
colors: {
  custom: {
    50: '#897be4',
    500: '#4048d6',
    950: '#000000',
  },
}
SCSS
$custom: #4048d6;
$custom-light: #897be4;
$custom-dark: #000000;
JSON
{
  "hex": "#4048d6",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 214
  },
  "hsl": {
    "h": 236.8,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49049,
    "c": 0.21304,
    "h": 273
  },
  "luminance": 0.1058
}

Semantic roles & 50–950 ramp

primary
#4048D6
secondary
#D9D599
accent
#DF40E8
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4048D6

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

Preview Lab → · Contrast checker → · Palette generator →

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