#4241A2#4241A2

#4241A2 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.5% C 0.153 H 278.4°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#4241A2
RGBrgb(66, 65, 162)
HSLhsl(241, 43%, 45%)
HSVhsv(241, 60%, 64%)
CMYKcmyk(59.3%, 59.9%, 0%, 36.5%)
CIE-LABlab(33.02, 29.80, -52.58)
CIE-LCHlch(33.02, 60.44, 299.55°)
OKLaboklab(43.47% 0.0223 -0.151)
OKLCHoklch(43.47% 0.153 278.4)
XYZxyz(10.6566, 7.5467, 35.0705)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4241A2 #A1A241
analogous
#4170A2 #4241A2 #7341A2
triadic
#4241A2 #A24241 #41A242
tetradic
#4241A2 #A24170 #A1A241 #41A273
square
#4241A2 #A24170 #A1A241 #41A273
split-complementary
#4241A2 #A27341 #70A241
monochromatic
#1E1E4B #302F76 #4241A2 #6261BF #8D8CD1

Accessibility & contrast

On white

8.37
#4241A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4241A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4241A2
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4241A2#FFFFFF#000000##FFFFFF
##4241A21.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4241a2;
/* rgb */ color: rgb(66, 65, 162);
/* oklch */ color: oklch(43.5% 0.153 278.4);
Tailwind
colors: {
  custom: {
    50: '#8076be',
    500: '#4241a2',
    950: '#000000',
  },
}
SCSS
$custom: #4241a2;
$custom-light: #8076be;
$custom-dark: #000000;
JSON
{
  "hex": "#4241a2",
  "rgb": {
    "r": 66,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 240.619,
    "s": 42.731,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43468,
    "c": 0.15264,
    "h": 278.4
  },
  "luminance": 0.07547
}

Semantic roles & 50–950 ramp

primary
#4241A2
secondary
#BBBC83
accent
#D355D1
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #4241A2

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

Preview Lab → · Contrast checker → · Palette generator →

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