#4248B2#4248B2

#4248B2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.1% C 0.166 H 275.3°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#4248B2
RGBrgb(66, 72, 178)
HSLhsl(237, 46%, 48%)
HSVhsv(237, 63%, 70%)
CMYKcmyk(62.9%, 59.6%, 0%, 30.2%)
CIE-LABlab(36.00, 30.81, -57.30)
CIE-LCHlch(36.00, 65.05, 298.26°)
OKLaboklab(46.06% 0.0154 -0.1648)
OKLCHoklch(46.06% 0.166 275.3)
XYZxyz(12.5974, 9.0063, 43.1854)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4248B2 #B2AC42
analogous
#4280B2 #4248B2 #7442B2
triadic
#4248B2 #B24248 #48B242
tetradic
#4248B2 #B24280 #B2AC42 #42B274
square
#4248B2 #B24280 #B2AC42 #42B274
split-complementary
#4248B2 #B27442 #80B242
monochromatic
#212459 #313685 #4248B2 #6A6FC8 #969AD8

Accessibility & contrast

On white

7.50
#4248B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4248B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4248B2
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4248B2#FFFFFF#000000##FFFFFF
##4248B21.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4248b2;
/* rgb */ color: rgb(66, 72, 178);
/* oklch */ color: oklch(46.1% 0.166 275.3);
Tailwind
colors: {
  custom: {
    50: '#827bca',
    500: '#4248b2',
    950: '#000000',
  },
}
SCSS
$custom: #4248b2;
$custom-light: #827bca;
$custom-dark: #000000;
JSON
{
  "hex": "#4248b2",
  "rgb": {
    "r": 66,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 236.786,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46057,
    "c": 0.16554,
    "h": 275.3
  },
  "luminance": 0.09007
}

Semantic roles & 50–950 ramp

primary
#4248B2
secondary
#C4C18C
accent
#CF52D6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4248B2

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

Preview Lab → · Contrast checker → · Palette generator →

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