#241F9E#241F9E

#241F9E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.193 H 272.5°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#241F9E
RGBrgb(36, 31, 158)
HSLhsl(242, 67%, 37%)
HSVhsv(242, 80%, 62%)
CMYKcmyk(77.2%, 80.4%, 0%, 38%)
CIE-LABlab(23.08, 44.94, -66.55)
CIE-LCHlch(23.08, 80.30, 304.03°)
OKLaboklab(35.64% 0.0083 -0.1926)
OKLCHoklch(35.64% 0.193 272.5)
XYZxyz(7.3870, 3.8229, 32.6897)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F9E #999E1F
analogous
#1F5A9E #241F9E #641F9E
triadic
#241F9E #9E241F #1F9E24
tetradic
#241F9E #9E1F5A #999E1F #1F9E64
square
#241F9E #9E1F5A #999E1F #1F9E64
split-complementary
#241F9E #9E641F #5A9E1F
monochromatic
#0D0B38 #18156B #241F9E #3029D1 #5E59DE

Accessibility & contrast

On white

11.90
#241F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#241F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F9E
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F9E#FFFFFF#000000##FFFFFF
##241F9E1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00319C
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #241f9e;
/* rgb */ color: rgb(36, 31, 158);
/* oklch */ color: oklch(35.6% 0.193 272.5);
Tailwind
colors: {
  custom: {
    50: '#755ebc',
    500: '#241f9e',
    950: '#000000',
  },
}
SCSS
$custom: #241f9e;
$custom-light: #755ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#241f9e",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 242.362,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35645,
    "c": 0.19276,
    "h": 272.5
  },
  "luminance": 0.03824
}

Semantic roles & 50–950 ramp

primary
#241F9E
secondary
#BEC256
accent
#EA3EE3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #241F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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