#4241B2#4241B2

#4241B2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.8% C 0.174 H 277.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#4241B2
RGBrgb(66, 65, 178)
HSLhsl(241, 47%, 48%)
HSVhsv(241, 63%, 70%)
CMYKcmyk(62.9%, 63.5%, 0%, 30.2%)
CIE-LABlab(34.30, 35.21, -60.06)
CIE-LCHlch(34.30, 69.62, 300.38°)
OKLaboklab(44.81% 0.0216 -0.173)
OKLCHoklch(44.81% 0.174 277.1)
XYZxyz(12.1703, 8.1522, 43.0430)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4241B2 #B1B241
analogous
#4178B2 #4241B2 #7A41B2
triadic
#4241B2 #B24241 #41B242
tetradic
#4241B2 #B24178 #B1B241 #41B27A
square
#4241B2 #B24178 #B1B241 #41B27A
split-complementary
#4241B2 #B27A41 #78B241
monochromatic
#212058 #313185 #4241B2 #6968C8 #9695D8

Accessibility & contrast

On white

7.98
#4241B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4241B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4241B2
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4241B2#FFFFFF#000000##FFFFFF
##4241B21.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4241b2;
/* rgb */ color: rgb(66, 65, 178);
/* oklch */ color: oklch(44.8% 0.174 277.1);
Tailwind
colors: {
  custom: {
    50: '#8376ca',
    500: '#4241b2',
    950: '#000000',
  },
}
SCSS
$custom: #4241b2;
$custom-light: #8376ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4241b2",
  "rgb": {
    "r": 66,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 240.531,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44807,
    "c": 0.17434,
    "h": 277.1
  },
  "luminance": 0.08153
}

Semantic roles & 50–950 ramp

primary
#4241B2
secondary
#C3C48B
accent
#D652D5
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4241B2

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

Preview Lab → · Contrast checker → · Palette generator →

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