#241FA8#241FA8

#241FA8 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.8% C 0.205 H 271.7°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#241FA8
RGBrgb(36, 31, 168)
HSLhsl(242, 69%, 39%)
HSVhsv(242, 82%, 66%)
CMYKcmyk(78.6%, 81.5%, 0%, 34.1%)
CIE-LABlab(24.26, 48.13, -70.66)
CIE-LCHlch(24.26, 85.50, 304.26°)
OKLaboklab(36.81% 0.006 -0.2045)
OKLCHoklch(36.81% 0.205 271.7)
XYZxyz(8.2830, 4.1813, 37.4087)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241FA8 #A3A81F
analogous
#1F5FA8 #241FA8 #691FA8
triadic
#241FA8 #A8241F #1FA824
tetradic
#241FA8 #A81F5F #A3A81F #1FA869
square
#241FA8 #A81F5F #A3A81F #1FA869
split-complementary
#241FA8 #A8691F #5FA81F
monochromatic
#0E0C41 #191574 #241FA8 #322CD8 #6560E2

Accessibility & contrast

On white

11.44
#241FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#241FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241FA8
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241FA8#FFFFFF#000000##FFFFFF
##241FA81.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AC
Deuteranopia (green-blind)
#0033A6
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #241fa8;
/* rgb */ color: rgb(36, 31, 168);
/* oklch */ color: oklch(36.8% 0.205 271.7);
Tailwind
colors: {
  custom: {
    50: '#785ec3',
    500: '#241fa8',
    950: '#000000',
  },
}
SCSS
$custom: #241fa8;
$custom-light: #785ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#241fa8",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 242.19,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.36814,
    "c": 0.20459,
    "h": 271.7
  },
  "luminance": 0.04182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #241FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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