#4048CE#4048CE

#4048CE is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.3% C 0.203 H 273.3°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#4048CE
RGBrgb(64, 72, 206)
HSLhsl(237, 59%, 53%)
HSVhsv(237, 69%, 81%)
CMYKcmyk(68.9%, 65%, 0%, 19.2%)
CIE-LABlab(38.16, 40.11, -70.15)
CIE-LCHlch(38.16, 80.81, 299.76°)
OKLaboklab(48.33% 0.0117 -0.2026)
OKLCHoklch(48.33% 0.203 273.3)
XYZxyz(15.5686, 10.1795, 59.5249)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4048CE #CEC640
analogous
#408FCE #4048CE #7F40CE
triadic
#4048CE #CE4048 #48CE40
tetradic
#4048CE #CE408F #CEC640 #40CE7F
square
#4048CE #CE408F #CEC640 #40CE7F
split-complementary
#4048CE #CE7F40 #8FCE40
monochromatic
#1E2375 #2B32A6 #4048CE #7177DA #A1A5E7

Accessibility & contrast

On white

6.92
#4048CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4048CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4048CE
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4048CE#FFFFFF#000000##FFFFFF
##4048CE1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D2
Deuteranopia (green-blind)
#0053CB
Tritanopia (blue-blind)
#006B84
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4048ce;
/* rgb */ color: rgb(64, 72, 206);
/* oklch */ color: oklch(48.3% 0.203 273.3);
Tailwind
colors: {
  custom: {
    50: '#877bde',
    500: '#4048ce',
    950: '#000000',
  },
}
SCSS
$custom: #4048ce;
$custom-light: #877bde;
$custom-dark: #000000;
JSON
{
  "hex": "#4048ce",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 236.62,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48327,
    "c": 0.20294,
    "h": 273.3
  },
  "luminance": 0.10181
}

Semantic roles & 50–950 ramp

primary
#4048CE
secondary
#D4D096
accent
#DA45E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4048CE

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

Preview Lab → · Contrast checker → · Palette generator →

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