#241F94#241F94

#241F94 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.181 H 273.4°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#241F94
RGBrgb(36, 31, 148)
HSLhsl(243, 65%, 35%)
HSVhsv(243, 79%, 58%)
CMYKcmyk(75.7%, 79.1%, 0%, 42%)
CIE-LABlab(21.92, 41.67, -62.32)
CIE-LCHlch(21.92, 74.97, 303.77°)
OKLaboklab(34.49% 0.0106 -0.1803)
OKLCHoklch(34.49% 0.181 273.4)
XYZxyz(6.5611, 3.4925, 28.3396)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F94 #8F941F
analogous
#1F5594 #241F94 #5E1F94
triadic
#241F94 #94241F #1F9424
tetradic
#241F94 #941F55 #8F941F #1F945E
square
#241F94 #941F55 #8F941F #1F945E
split-complementary
#241F94 #945E1F #55941F
monochromatic
#0B0A2F #181461 #241F94 #302AC7 #5853DB

Accessibility & contrast

On white

12.36
#241F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#241F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F94
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F94#FFFFFF#000000##FFFFFF
##241F941.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A97
Deuteranopia (green-blind)
#002F92
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #241f94;
/* rgb */ color: rgb(36, 31, 148);
/* oklch */ color: oklch(34.5% 0.181 273.4);
Tailwind
colors: {
  custom: {
    50: '#735db5',
    500: '#241f94',
    950: '#000000',
  },
}
SCSS
$custom: #241f94;
$custom-light: #735db5;
$custom-dark: #000000;
JSON
{
  "hex": "#241f94",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 242.564,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34495,
    "c": 0.18063,
    "h": 273.4
  },
  "luminance": 0.03493
}

Semantic roles & 50–950 ramp

primary
#241F94
secondary
#B9BE51
accent
#E83FE1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #241F94

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

Preview Lab → · Contrast checker → · Palette generator →

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