#4248A2#4248A2

#4248A2 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.143 H 276.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#4248A2
RGBrgb(66, 72, 162)
HSLhsl(236, 42%, 45%)
HSVhsv(236, 59%, 64%)
CMYKcmyk(59.3%, 55.6%, 0%, 36.5%)
CIE-LABlab(34.80, 25.30, -49.69)
CIE-LCHlch(34.80, 55.76, 296.98°)
OKLaboklab(44.79% 0.0152 -0.1424)
OKLCHoklch(44.79% 0.143 276.1)
XYZxyz(11.0836, 8.4008, 35.2129)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4248A2 #A29C42
analogous
#4278A2 #4248A2 #6C42A2
triadic
#4248A2 #A24248 #48A242
tetradic
#4248A2 #A24278 #A29C42 #42A26C
square
#4248A2 #A24278 #A29C42 #42A26C
split-complementary
#4248A2 #A26C42 #78A242
monochromatic
#1F214B #303577 #4248A2 #6268BF #8E92D1

Accessibility & contrast

On white

7.83
#4248A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4248A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4248A2
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4248A2#FFFFFF#000000##FFFFFF
##4248A21.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0856A5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4248a2;
/* rgb */ color: rgb(66, 72, 162);
/* oklch */ color: oklch(44.8% 0.143 276.1);
Tailwind
colors: {
  custom: {
    50: '#7f7bbe',
    500: '#4248a2',
    950: '#000000',
  },
}
SCSS
$custom: #4248a2;
$custom-light: #7f7bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4248a2",
  "rgb": {
    "r": 66,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 236.25,
    "s": 42.105,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44793,
    "c": 0.14325,
    "h": 276.1
  },
  "luminance": 0.08402
}

Semantic roles & 50–950 ramp

primary
#4248A2
secondary
#BCB884
accent
#CA56D2
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #4248A2

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

Preview Lab → · Contrast checker → · Palette generator →

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