#241F90#241F90

#241F90 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.176 H 273.7°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#241F90
RGBrgb(36, 31, 144)
HSLhsl(243, 65%, 34%)
HSVhsv(243, 78%, 56%)
CMYKcmyk(75%, 78.5%, 0%, 43.5%)
CIE-LABlab(21.46, 40.34, -60.60)
CIE-LCHlch(21.46, 72.80, 303.65°)
OKLaboklab(34.04% 0.0115 -0.1753)
OKLCHoklch(34.04% 0.176 273.7)
XYZxyz(6.2499, 3.3680, 26.7009)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F90 #8B901F
analogous
#1F5390 #241F90 #5D1F90
triadic
#241F90 #90241F #1F9024
tetradic
#241F90 #901F53 #8B901F #1F905D
square
#241F90 #901F53 #8B901F #1F905D
split-complementary
#241F90 #905D1F #53901F
monochromatic
#0B092B #17145E #241F90 #312AC2 #5650D9

Accessibility & contrast

On white

12.55
#241F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#241F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F90
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F90#FFFFFF#000000##FFFFFF
##241F901.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#002E8E
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #241f90;
/* rgb */ color: rgb(36, 31, 144);
/* oklch */ color: oklch(34.0% 0.176 273.7);
Tailwind
colors: {
  custom: {
    50: '#725db2',
    500: '#241f90',
    950: '#000000',
  },
}
SCSS
$custom: #241f90;
$custom-light: #725db2;
$custom-dark: #000000;
JSON
{
  "hex": "#241f90",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 242.655,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34041,
    "c": 0.17569,
    "h": 273.7
  },
  "luminance": 0.03369
}

Semantic roles & 50–950 ramp

primary
#241F90
secondary
#B7BC4E
accent
#E840E0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #241F90

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

Preview Lab → · Contrast checker → · Palette generator →

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