#4248C5#4248C5

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

Color values

HEX#4248C5
RGBrgb(66, 72, 197)
HSLhsl(237, 53%, 52%)
HSVhsv(237, 66%, 77%)
CMYKcmyk(66.5%, 63.5%, 0%, 22.7%)
CIE-LABlab(37.52, 37.31, -65.97)
CIE-LCHlch(37.52, 75.79, 299.49°)
OKLaboklab(47.66% 0.0146 -0.1903)
OKLCHoklch(47.66% 0.191 274.4)
XYZxyz(14.6388, 9.8229, 53.9371)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4248C5 #C5BF42
analogous
#428AC5 #4248C5 #7E42C5
triadic
#4248C5 #C54248 #48C542
tetradic
#4248C5 #C5428A #C5BF42 #42C57E
square
#4248C5 #C5428A #C5BF42 #42C57E
split-complementary
#4248C5 #C57E42 #8AC542
monochromatic
#21246C #2F349A #4248C5 #7175D3 #A0A3E2

Accessibility & contrast

On white

7.08
#4248C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4248C5
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4248C5#FFFFFF#000000##FFFFFF
##4248C51.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0052C3
Tritanopia (blue-blind)
#006880
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4248c5;
/* rgb */ color: rgb(66, 72, 197);
/* oklch */ color: oklch(47.7% 0.191 274.4);
Tailwind
colors: {
  custom: {
    50: '#867bd8',
    500: '#4248c5',
    950: '#000000',
  },
}
SCSS
$custom: #4248c5;
$custom-light: #867bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4248c5",
  "rgb": {
    "r": 66,
    "g": 72,
    "b": 197
  },
  "hsl": {
    "h": 237.252,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47656,
    "c": 0.19085,
    "h": 274.4
  },
  "luminance": 0.09824
}

Semantic roles & 50–950 ramp

primary
#4248C5
secondary
#CECC95
accent
#D64BDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #4248C5

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

Preview Lab → · Contrast checker → · Palette generator →

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