#241F9B#241F9B

#241F9B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.189 H 272.7°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#241F9B
RGBrgb(36, 31, 155)
HSLhsl(242, 67%, 36%)
HSVhsv(242, 80%, 61%)
CMYKcmyk(76.8%, 80%, 0%, 39.2%)
CIE-LABlab(22.73, 43.97, -65.29)
CIE-LCHlch(22.73, 78.72, 303.96°)
OKLaboklab(35.3% 0.009 -0.1889)
OKLCHoklch(35.3% 0.189 272.7)
XYZxyz(7.1320, 3.7208, 31.3463)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F9B #969B1F
analogous
#1F589B #241F9B #621F9B
triadic
#241F9B #9B241F #1F9B24
tetradic
#241F9B #9B1F58 #969B1F #1F9B62
square
#241F9B #9B1F58 #969B1F #1F9B62
split-complementary
#241F9B #9B621F #589B1F
monochromatic
#0C0B35 #181568 #241F9B #3029CE #5C57DD

Accessibility & contrast

On white

12.04
#241F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#241F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F9B
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F9B#FFFFFF#000000##FFFFFF
##241F9B1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9E
Deuteranopia (green-blind)
#003099
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #241f9b;
/* rgb */ color: rgb(36, 31, 155);
/* oklch */ color: oklch(35.3% 0.189 272.7);
Tailwind
colors: {
  custom: {
    50: '#745eba',
    500: '#241f9b',
    950: '#000000',
  },
}
SCSS
$custom: #241f9b;
$custom-light: #745eba;
$custom-dark: #000000;
JSON
{
  "hex": "#241f9b",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 155
  },
  "hsl": {
    "h": 242.419,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35298,
    "c": 0.18915,
    "h": 272.7
  },
  "luminance": 0.03722
}

Semantic roles & 50–950 ramp

primary
#241F9B
secondary
#BDC155
accent
#EA3EE3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #241F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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