#4241D8#4241D8

#4241D8 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.3% C 0.223 H 274.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#4241D8
RGBrgb(66, 65, 216)
HSLhsl(240, 66%, 55%)
HSVhsv(240, 70%, 85%)
CMYKcmyk(69.4%, 69.9%, 0%, 15.3%)
CIE-LABlab(37.65, 47.81, -76.75)
CIE-LCHlch(37.65, 90.42, 301.92°)
OKLaboklab(48.26% 0.0173 -0.2218)
OKLCHoklch(48.26% 0.223 274.5)
XYZxyz(16.5276, 9.8951, 65.9914)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4241D8 #D7D841
analogous
#418CD8 #4241D8 #8D41D8
triadic
#4241D8 #D84241 #41D842
tetradic
#4241D8 #D8418C #D7D841 #41D88D
square
#4241D8 #D8418C #D7D841 #41D88D
split-complementary
#4241D8 #D88D41 #8CD841
monochromatic
#1C1B84 #2625B6 #4241D8 #7574E2 #A7A7ED

Accessibility & contrast

On white

7.05
#4241D8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4241D8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4241D8
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4241D8#FFFFFF#000000##FFFFFF
##4241D81.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DD
Deuteranopia (green-blind)
#0052D5
Tritanopia (blue-blind)
#006B88
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4241d8;
/* rgb */ color: rgb(66, 65, 216);
/* oklch */ color: oklch(48.3% 0.223 274.5);
Tailwind
colors: {
  custom: {
    50: '#8a77e5',
    500: '#4241d8',
    950: '#000000',
  },
}
SCSS
$custom: #4241d8;
$custom-light: #8a77e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4241d8",
  "rgb": {
    "r": 66,
    "g": 65,
    "b": 216
  },
  "hsl": {
    "h": 240.397,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.48264,
    "c": 0.22253,
    "h": 274.5
  },
  "luminance": 0.09897
}

Semantic roles & 50–950 ramp

primary
#4241D8
secondary
#DADA9B
accent
#E93FE8
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4241D8

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

Preview Lab → · Contrast checker → · Palette generator →

#4241D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva