#4048D9#4048D9

#4048D9 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.3% C 0.217 H 272.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#4048D9
RGBrgb(64, 72, 217)
HSLhsl(237, 67%, 55%)
HSVhsv(237, 71%, 85%)
CMYKcmyk(70.5%, 66.8%, 0%, 14.9%)
CIE-LABlab(39.13, 43.83, -74.91)
CIE-LCHlch(39.13, 86.79, 300.33°)
OKLaboklab(49.32% 0.0107 -0.2165)
OKLCHoklch(49.32% 0.217 272.8)
XYZxyz(16.9519, 10.7328, 66.8104)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4048D9 #D9D140
analogous
#4094D9 #4048D9 #8540D9
triadic
#4048D9 #D94048 #48D940
tetradic
#4048D9 #D94094 #D9D140 #40D985
square
#4048D9 #D94094 #D9D140 #40D985
split-complementary
#4048D9 #D98540 #94D940
monochromatic
#1A2084 #242CB7 #4048D9 #7379E3 #A6AAED

Accessibility & contrast

On white

6.67
#4048D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4048D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4048D9
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4048D9#FFFFFF#000000##FFFFFF
##4048D91.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DD
Deuteranopia (green-blind)
#0055D6
Tritanopia (blue-blind)
#006F8A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4048d9;
/* rgb */ color: rgb(64, 72, 217);
/* oklch */ color: oklch(49.3% 0.217 272.8);
Tailwind
colors: {
  custom: {
    50: '#897be6',
    500: '#4048d9',
    950: '#000000',
  },
}
SCSS
$custom: #4048d9;
$custom-light: #897be6;
$custom-dark: #000000;
JSON
{
  "hex": "#4048d9",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 236.863,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.49323,
    "c": 0.21678,
    "h": 272.8
  },
  "luminance": 0.10734
}

Semantic roles & 50–950 ramp

primary
#4048D9
secondary
#DAD79A
accent
#E13EEA
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4048D9

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

Preview Lab → · Contrast checker → · Palette generator →

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