#241EB3#241EB3

#241EB3 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.0% C 0.218 H 271.0°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#241EB3
RGBrgb(36, 30, 179)
HSLhsl(242, 71%, 41%)
HSVhsv(242, 83%, 70%)
CMYKcmyk(79.9%, 83.2%, 0%, 29.8%)
CIE-LABlab(25.43, 52.02, -75.33)
CIE-LCHlch(25.43, 91.54, 304.63°)
OKLaboklab(38.01% 0.0037 -0.218)
OKLCHoklch(38.01% 0.218 271)
XYZxyz(9.3258, 4.5572, 43.0272)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241EB3 #ADB31E
analogous
#1E62B3 #241EB3 #6E1EB3
triadic
#241EB3 #B3241E #1EB324
tetradic
#241EB3 #B31E62 #ADB31E #1EB36E
square
#241EB3 #B31E62 #ADB31E #1EB36E
split-complementary
#241EB3 #B36E1E #62B31E
monochromatic
#0F0C4A #19157F #241EB3 #3932DD #6B66E5

Accessibility & contrast

On white

10.99
#241EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#241EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241EB3
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241EB3#FFFFFF#000000##FFFFFF
##241EB31.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B7
Deuteranopia (green-blind)
#0035B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #241eb3;
/* rgb */ color: rgb(36, 30, 179);
/* oklch */ color: oklch(38.0% 0.218 271.0);
Tailwind
colors: {
  custom: {
    50: '#7a5fcb',
    500: '#241eb3',
    950: '#000000',
  },
}
SCSS
$custom: #241eb3;
$custom-light: #7a5fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#241eb3",
  "rgb": {
    "r": 36,
    "g": 30,
    "b": 179
  },
  "hsl": {
    "h": 242.416,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38009,
    "c": 0.21802,
    "h": 271
  },
  "luminance": 0.04558
}

Semantic roles & 50–950 ramp

primary
#241EB3
secondary
#C6CB62
accent
#EE3AE7
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #241EB3

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

Preview Lab → · Contrast checker → · Palette generator →

#241EB3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva