#4048CD#4048CD

#4048CD is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.2% C 0.202 H 273.4°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#4048CD
RGBrgb(64, 72, 205)
HSLhsl(237, 59%, 53%)
HSVhsv(237, 69%, 80%)
CMYKcmyk(68.8%, 64.9%, 0%, 19.6%)
CIE-LABlab(38.08, 39.77, -69.71)
CIE-LCHlch(38.08, 80.26, 299.71°)
OKLaboklab(48.24% 0.0118 -0.2013)
OKLCHoklch(48.24% 0.202 273.4)
XYZxyz(15.4475, 10.1310, 58.8872)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4048CD #CDC540
analogous
#408ECD #4048CD #7F40CD
triadic
#4048CD #CD4048 #48CD40
tetradic
#4048CD #CD408E #CDC540 #40CD7F
square
#4048CD #CD408E #CDC540 #40CD7F
split-complementary
#4048CD #CD7F40 #8ECD40
monochromatic
#1E2374 #2B32A5 #4048CD #7176DA #A1A5E6

Accessibility & contrast

On white

6.94
#4048CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4048CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4048CD
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4048CD#FFFFFF#000000##FFFFFF
##4048CD1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4048cd;
/* rgb */ color: rgb(64, 72, 205);
/* oklch */ color: oklch(48.2% 0.202 273.4);
Tailwind
colors: {
  custom: {
    50: '#877bdd',
    500: '#4048cd',
    950: '#000000',
  },
}
SCSS
$custom: #4048cd;
$custom-light: #877bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4048cd",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 236.596,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48237,
    "c": 0.20166,
    "h": 273.4
  },
  "luminance": 0.10132
}

Semantic roles & 50–950 ramp

primary
#4048CD
secondary
#D3CF96
accent
#D946E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4048CD

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

Preview Lab → · Contrast checker → · Palette generator →

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