#241FB4#241FB4

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

Color values

HEX#241FB4
RGBrgb(36, 31, 180)
HSLhsl(242, 71%, 41%)
HSVhsv(242, 83%, 71%)
CMYKcmyk(80%, 82.8%, 0%, 29.4%)
CIE-LABlab(25.71, 51.87, -75.46)
CIE-LCHlch(25.71, 91.57, 304.50°)
OKLaboklab(38.24% 0.0032 -0.2184)
OKLCHoklch(38.24% 0.218 270.8)
XYZxyz(9.4530, 4.6493, 43.5704)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241FB4 #AFB41F
analogous
#1F65B4 #241FB4 #6F1FB4
triadic
#241FB4 #B4241F #1FB424
tetradic
#241FB4 #B41F65 #AFB41F #1FB46F
square
#241FB4 #B41F65 #AFB41F #1FB46F
split-complementary
#241FB4 #B46F1F #65B41F
monochromatic
#0F0D4C #1A1680 #241FB4 #3A34DC #6D68E5

Accessibility & contrast

On white

10.88
#241FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#241FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241FB4
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241FB4#FFFFFF#000000##FFFFFF
##241FB41.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B8
Deuteranopia (green-blind)
#0035B2
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #241fb4;
/* rgb */ color: rgb(36, 31, 180);
/* oklch */ color: oklch(38.2% 0.218 270.8);
Tailwind
colors: {
  custom: {
    50: '#7b5fcc',
    500: '#241fb4',
    950: '#000000',
  },
}
SCSS
$custom: #241fb4;
$custom-light: #7b5fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#241fb4",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 242.013,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38236,
    "c": 0.21843,
    "h": 270.8
  },
  "luminance": 0.0465
}

Semantic roles & 50–950 ramp

primary
#241FB4
secondary
#C7CB64
accent
#ED3AE7
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #241FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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