#241FAB#241FAB

#241FAB is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.2% C 0.208 H 271.5°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#241FAB
RGBrgb(36, 31, 171)
HSLhsl(242, 69%, 40%)
HSVhsv(242, 82%, 67%)
CMYKcmyk(78.9%, 81.9%, 0%, 32.9%)
CIE-LABlab(24.62, 49.08, -71.87)
CIE-LCHlch(24.62, 87.03, 304.33°)
OKLaboklab(37.17% 0.0053 -0.208)
OKLCHoklch(37.17% 0.208 271.5)
XYZxyz(8.5657, 4.2944, 38.8976)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241FAB #A6AB1F
analogous
#1F60AB #241FAB #6A1FAB
triadic
#241FAB #AB241F #1FAB24
tetradic
#241FAB #AB1F60 #A6AB1F #1FAB6A
square
#241FAB #AB1F60 #A6AB1F #1FAB6A
split-complementary
#241FAB #AB6A1F #60AB1F
monochromatic
#0E0C43 #191677 #241FAB #342ED9 #6662E3

Accessibility & contrast

On white

11.30
#241FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#241FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241FAB
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241FAB#FFFFFF#000000##FFFFFF
##241FAB1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AF
Deuteranopia (green-blind)
#0033A9
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #241fab;
/* rgb */ color: rgb(36, 31, 171);
/* oklch */ color: oklch(37.2% 0.208 271.5);
Tailwind
colors: {
  custom: {
    50: '#785fc5',
    500: '#241fab',
    950: '#000000',
  },
}
SCSS
$custom: #241fab;
$custom-light: #785fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#241fab",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 171
  },
  "hsl": {
    "h": 242.143,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37168,
    "c": 0.20809,
    "h": 271.5
  },
  "luminance": 0.04295
}

Semantic roles & 50–950 ramp

primary
#241FAB
secondary
#C4C75E
accent
#EC3CE6
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #241FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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