#4248BA#4248BA

#4248BA is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.7% C 0.176 H 274.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#4248BA
RGBrgb(66, 72, 186)
HSLhsl(237, 48%, 49%)
HSVhsv(237, 65%, 73%)
CMYKcmyk(64.5%, 61.3%, 0%, 27.1%)
CIE-LABlab(36.63, 33.55, -60.99)
CIE-LCHlch(36.63, 69.61, 298.82°)
OKLaboklab(46.72% 0.0152 -0.1757)
OKLCHoklch(46.72% 0.176 274.9)
XYZxyz(13.4241, 9.3370, 47.5396)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4248BA #BAB442
analogous
#4284BA #4248BA #7842BA
triadic
#4248BA #BA4248 #48BA42
tetradic
#4248BA #BA4284 #BAB442 #42BA78
square
#4248BA #BA4284 #BAB442 #42BA78
split-complementary
#4248BA #BA7842 #84BA42
monochromatic
#222560 #32378D #4248BA #6E72CB #9B9EDB

Accessibility & contrast

On white

7.32
#4248BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4248BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4248BA
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4248BA#FFFFFF#000000##FFFFFF
##4248BA1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4248ba;
/* rgb */ color: rgb(66, 72, 186);
/* oklch */ color: oklch(46.7% 0.176 274.9);
Tailwind
colors: {
  custom: {
    50: '#847bd0',
    500: '#4248ba',
    950: '#000000',
  },
}
SCSS
$custom: #4248ba;
$custom-light: #847bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4248ba",
  "rgb": {
    "r": 66,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 237,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46718,
    "c": 0.17634,
    "h": 274.9
  },
  "luminance": 0.09338
}

Semantic roles & 50–950 ramp

primary
#4248BA
secondary
#C8C590
accent
#D051D7
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4248BA

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

Preview Lab → · Contrast checker → · Palette generator →

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