#241FA7#241FA7

#241FA7 is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 36.7% C 0.203 H 271.7°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#241FA7
RGBrgb(36, 31, 167)
HSLhsl(242, 69%, 39%)
HSVhsv(242, 81%, 65%)
CMYKcmyk(78.4%, 81.4%, 0%, 34.5%)
CIE-LABlab(24.14, 47.82, -70.25)
CIE-LCHlch(24.14, 84.98, 304.24°)
OKLaboklab(36.7% 0.0062 -0.2033)
OKLCHoklch(36.7% 0.203 271.7)
XYZxyz(8.1902, 4.1442, 36.9200)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241FA7 #A2A71F
analogous
#1F5EA7 #241FA7 #681FA7
triadic
#241FA7 #A7241F #1FA724
tetradic
#241FA7 #A71F5E #A2A71F #1FA768
square
#241FA7 #A71F5E #A2A71F #1FA768
split-complementary
#241FA7 #A7681F #5EA71F
monochromatic
#0E0C40 #191573 #241FA7 #322BD8 #645FE1

Accessibility & contrast

On white

11.48
#241FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#241FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241FA7
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241FA7#FFFFFF#000000##FFFFFF
##241FA71.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AB
Deuteranopia (green-blind)
#0032A5
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #241fa7;
/* rgb */ color: rgb(36, 31, 167);
/* oklch */ color: oklch(36.7% 0.203 271.7);
Tailwind
colors: {
  custom: {
    50: '#775ec3',
    500: '#241fa7',
    950: '#000000',
  },
}
SCSS
$custom: #241fa7;
$custom-light: #775ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#241fa7",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 242.206,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.36697,
    "c": 0.20341,
    "h": 271.7
  },
  "luminance": 0.04145
}

Semantic roles & 50–950 ramp

primary
#241FA7
secondary
#C2C65C
accent
#EC3CE5
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #241FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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