#4048C3#4048C3

#4048C3 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.4% C 0.189 H 273.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4048C3
RGBrgb(64, 72, 195)
HSLhsl(236, 52%, 51%)
HSVhsv(236, 67%, 76%)
CMYKcmyk(67.2%, 63.1%, 0%, 23.5%)
CIE-LABlab(37.23, 36.35, -65.28)
CIE-LCHlch(37.23, 74.72, 299.11°)
OKLaboklab(47.36% 0.0125 -0.1883)
OKLCHoklch(47.36% 0.189 273.8)
XYZxyz(14.2788, 9.6635, 52.7319)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4048C3 #C3BB40
analogous
#4089C3 #4048C3 #7940C3
triadic
#4048C3 #C34048 #48C340
tetradic
#4048C3 #C34089 #C3BB40 #40C379
square
#4048C3 #C34089 #C3BB40 #40C379
split-complementary
#4048C3 #C37940 #89C340
monochromatic
#212568 #2F3697 #4048C3 #6F75D2 #9DA1E0

Accessibility & contrast

On white

7.16
#4048C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4048C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4048C3
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4048C3#FFFFFF#000000##FFFFFF
##4048C31.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#0052C1
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4048c3;
/* rgb */ color: rgb(64, 72, 195);
/* oklch */ color: oklch(47.4% 0.189 273.8);
Tailwind
colors: {
  custom: {
    50: '#857bd6',
    500: '#4048c3',
    950: '#000000',
  },
}
SCSS
$custom: #4048c3;
$custom-light: #857bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4048c3",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 195
  },
  "hsl": {
    "h": 236.336,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47358,
    "c": 0.18873,
    "h": 273.8
  },
  "luminance": 0.09665
}

Semantic roles & 50–950 ramp

primary
#4048C3
secondary
#CCC992
accent
#D34CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4048C3

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

Preview Lab → · Contrast checker → · Palette generator →

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