#4048C9#4048C9

#4048C9 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.9% C 0.197 H 273.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4048C9
RGBrgb(64, 72, 201)
HSLhsl(236, 56%, 52%)
HSVhsv(236, 68%, 79%)
CMYKcmyk(68.2%, 64.2%, 0%, 21.2%)
CIE-LABlab(37.74, 38.41, -67.95)
CIE-LCHlch(37.74, 78.06, 299.48°)
OKLaboklab(47.88% 0.0121 -0.1961)
OKLCHoklch(47.88% 0.197 273.5)
XYZxyz(14.9708, 9.9404, 56.3767)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4048C9 #C9C140
analogous
#408DC9 #4048C9 #7C40C9
triadic
#4048C9 #C94048 #48C940
tetradic
#4048C9 #C9408D #C9C140 #40C97C
square
#4048C9 #C9408D #C9C140 #40C97C
split-complementary
#4048C9 #C97C40 #8DC940
monochromatic
#1F246F #2D349F #4048C9 #7076D6 #9FA3E4

Accessibility & contrast

On white

7.03
#4048C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4048C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4048C9
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4048C9#FFFFFF#000000##FFFFFF
##4048C91.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCD
Deuteranopia (green-blind)
#0053C7
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4048c9;
/* rgb */ color: rgb(64, 72, 201);
/* oklch */ color: oklch(47.9% 0.197 273.5);
Tailwind
colors: {
  custom: {
    50: '#867bda',
    500: '#4048c9',
    950: '#000000',
  },
}
SCSS
$custom: #4048c9;
$custom-light: #867bda;
$custom-dark: #000000;
JSON
{
  "hex": "#4048c9",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 201
  },
  "hsl": {
    "h": 236.496,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47883,
    "c": 0.19652,
    "h": 273.5
  },
  "luminance": 0.09942
}

Semantic roles & 50–950 ramp

primary
#4048C9
secondary
#D0CD94
accent
#D649DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #4048C9

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

Preview Lab → · Contrast checker → · Palette generator →

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