#4248C4#4248C4

#4248C4 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.6% C 0.190 H 274.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#4248C4
RGBrgb(66, 72, 196)
HSLhsl(237, 52%, 51%)
HSVhsv(237, 66%, 77%)
CMYKcmyk(66.3%, 63.3%, 0%, 23.1%)
CIE-LABlab(37.44, 36.97, -65.52)
CIE-LCHlch(37.44, 75.23, 299.44°)
OKLaboklab(47.57% 0.0147 -0.189)
OKLCHoklch(47.57% 0.19 274.4)
XYZxyz(14.5246, 9.7772, 53.3356)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4248C4 #C4BE42
analogous
#4289C4 #4248C4 #7D42C4
triadic
#4248C4 #C44248 #48C442
tetradic
#4248C4 #C44289 #C4BE42 #42C47D
square
#4248C4 #C44289 #C4BE42 #42C47D
split-complementary
#4248C4 #C47D42 #89C442
monochromatic
#21256A #303599 #4248C4 #7175D3 #9FA2E1

Accessibility & contrast

On white

7.10
#4248C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4248C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4248C4
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4248C4#FFFFFF#000000##FFFFFF
##4248C41.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#0052C2
Tritanopia (blue-blind)
#00687F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4248c4;
/* rgb */ color: rgb(66, 72, 196);
/* oklch */ color: oklch(47.6% 0.190 274.4);
Tailwind
colors: {
  custom: {
    50: '#867bd7',
    500: '#4248c4',
    950: '#000000',
  },
}
SCSS
$custom: #4248c4;
$custom-light: #867bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4248c4",
  "rgb": {
    "r": 66,
    "g": 72,
    "b": 196
  },
  "hsl": {
    "h": 237.231,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47569,
    "c": 0.18954,
    "h": 274.4
  },
  "luminance": 0.09779
}

Semantic roles & 50–950 ramp

primary
#4248C4
secondary
#CECB94
accent
#D54CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4248C4

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

Preview Lab → · Contrast checker → · Palette generator →

#4248C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva