#4248E8#4248E8

#4248E8 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.8% C 0.235 H 272.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4248E8
RGBrgb(66, 72, 232)
HSLhsl(238, 78%, 58%)
HSVhsv(238, 72%, 91%)
CMYKcmyk(71.6%, 69%, 0%, 9%)
CIE-LABlab(40.60, 49.02, -81.03)
CIE-LCHlch(40.60, 94.71, 301.17°)
OKLaboklab(50.83% 0.0112 -0.2344)
OKLCHoklch(50.83% 0.235 272.7)
XYZxyz(19.1247, 11.6172, 77.5627)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4248E8 #E8E242
analogous
#429BE8 #4248E8 #8F42E8
triadic
#4248E8 #E84248 #48E842
tetradic
#4248E8 #E8429B #E8E242 #42E88F
square
#4248E8 #E8429B #E8E242 #42E88F
split-complementary
#4248E8 #E88F42 #9BE842
monochromatic
#13189D #1A20D3 #4248E8 #797DEF #AFB2F5

Accessibility & contrast

On white

6.32
#4248E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4248E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4248E8
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4248E8#FFFFFF#000000##FFFFFF
##4248E81.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068ED
Deuteranopia (green-blind)
#0058E5
Tritanopia (blue-blind)
#007493
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4248e8;
/* rgb */ color: rgb(66, 72, 232);
/* oklch */ color: oklch(50.8% 0.235 272.7);
Tailwind
colors: {
  custom: {
    50: '#8d7cf1',
    500: '#4248e8',
    950: '#000000',
  },
}
SCSS
$custom: #4248e8;
$custom-light: #8d7cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#4248e8",
  "rgb": {
    "r": 66,
    "g": 72,
    "b": 232
  },
  "hsl": {
    "h": 237.831,
    "s": 78.302,
    "l": 58.431
  },
  "oklch": {
    "l": 0.50832,
    "c": 0.23463,
    "h": 272.7
  },
  "luminance": 0.11619
}

Semantic roles & 50–950 ramp

primary
#4248E8
secondary
#E4E1A2
accent
#EE33F5
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4248E8

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

Preview Lab → · Contrast checker → · Palette generator →

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