#241FA0#241FA0

#241FA0 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.9% C 0.195 H 272.3°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#241FA0
RGBrgb(36, 31, 160)
HSLhsl(242, 68%, 37%)
HSVhsv(242, 81%, 63%)
CMYKcmyk(77.5%, 80.6%, 0%, 37.3%)
CIE-LABlab(23.31, 45.59, -67.38)
CIE-LCHlch(23.31, 81.35, 304.08°)
OKLaboklab(35.88% 0.0078 -0.195)
OKLCHoklch(35.88% 0.195 272.3)
XYZxyz(7.5606, 3.8923, 33.6037)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241FA0 #9BA01F
analogous
#1F5AA0 #241FA0 #651FA0
triadic
#241FA0 #A0241F #1FA024
tetradic
#241FA0 #A01F5A #9BA01F #1FA065
square
#241FA0 #A01F5A #9BA01F #1FA065
split-complementary
#241FA0 #A0651F #5AA01F
monochromatic
#0D0B39 #18156D #241FA0 #3029D3 #5F5ADF

Accessibility & contrast

On white

11.81
#241FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#241FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241FA0
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241FA0#FFFFFF#000000##FFFFFF
##241FA01.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00319E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #241fa0;
/* rgb */ color: rgb(36, 31, 160);
/* oklch */ color: oklch(35.9% 0.195 272.3);
Tailwind
colors: {
  custom: {
    50: '#765ebd',
    500: '#241fa0',
    950: '#000000',
  },
}
SCSS
$custom: #241fa0;
$custom-light: #765ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#241fa0",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 242.326,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.35878,
    "c": 0.19515,
    "h": 272.3
  },
  "luminance": 0.03893
}

Semantic roles & 50–950 ramp

primary
#241FA0
secondary
#BFC358
accent
#EA3DE4
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #241FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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