#4248C7#4248C7

#4248C7 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.8% C 0.193 H 274.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#4248C7
RGBrgb(66, 72, 199)
HSLhsl(237, 54%, 52%)
HSVhsv(237, 67%, 78%)
CMYKcmyk(66.8%, 63.8%, 0%, 22%)
CIE-LABlab(37.69, 37.99, -66.86)
CIE-LCHlch(37.69, 76.90, 299.61°)
OKLaboklab(47.83% 0.0145 -0.1929)
OKLCHoklch(47.83% 0.193 274.3)
XYZxyz(14.8695, 9.9152, 55.1520)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4248C7 #C7C142
analogous
#428BC7 #4248C7 #7F42C7
triadic
#4248C7 #C74248 #48C742
tetradic
#4248C7 #C7428B #C7C142 #42C77F
square
#4248C7 #C7428B #C7C142 #42C77F
split-complementary
#4248C7 #C77F42 #8BC742
monochromatic
#21246E #2F349D #4248C7 #7176D5 #A0A3E3

Accessibility & contrast

On white

7.04
#4248C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4248C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4248C7
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4248C7#FFFFFF#000000##FFFFFF
##4248C71.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#0053C5
Tritanopia (blue-blind)
#006981
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4248c7;
/* rgb */ color: rgb(66, 72, 199);
/* oklch */ color: oklch(47.8% 0.193 274.3);
Tailwind
colors: {
  custom: {
    50: '#867bd9',
    500: '#4248c7',
    950: '#000000',
  },
}
SCSS
$custom: #4248c7;
$custom-light: #867bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4248c7",
  "rgb": {
    "r": 66,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 237.293,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.4783,
    "c": 0.19344,
    "h": 274.3
  },
  "luminance": 0.09917
}

Semantic roles & 50–950 ramp

primary
#4248C7
secondary
#D0CD95
accent
#D74ADE
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #4248C7

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

Preview Lab → · Contrast checker → · Palette generator →

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