#241F9A#241F9A

#241F9A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.188 H 272.8°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#241F9A
RGBrgb(36, 31, 154)
HSLhsl(242, 66%, 36%)
HSVhsv(242, 80%, 60%)
CMYKcmyk(76.6%, 79.9%, 0%, 39.6%)
CIE-LABlab(22.61, 43.64, -64.87)
CIE-LCHlch(22.61, 78.18, 303.93°)
OKLaboklab(35.18% 0.0092 -0.1877)
OKLCHoklch(35.18% 0.188 272.8)
XYZxyz(7.0483, 3.6874, 30.9059)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F9A #959A1F
analogous
#1F589A #241F9A #621F9A
triadic
#241F9A #9A241F #1F9A24
tetradic
#241F9A #9A1F58 #959A1F #1F9A62
square
#241F9A #9A1F58 #959A1F #1F9A62
split-complementary
#241F9A #9A621F #589A1F
monochromatic
#0C0A34 #181567 #241F9A #3029CD #5C56DD

Accessibility & contrast

On white

12.09
#241F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241F9A
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F9A#FFFFFF#000000##FFFFFF
##241F9A1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9D
Deuteranopia (green-blind)
#003098
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #241f9a;
/* rgb */ color: rgb(36, 31, 154);
/* oklch */ color: oklch(35.2% 0.188 272.8);
Tailwind
colors: {
  custom: {
    50: '#745eb9',
    500: '#241f9a',
    950: '#000000',
  },
}
SCSS
$custom: #241f9a;
$custom-light: #745eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#241f9a",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 154
  },
  "hsl": {
    "h": 242.439,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35183,
    "c": 0.18795,
    "h": 272.8
  },
  "luminance": 0.03688
}

Semantic roles & 50–950 ramp

primary
#241F9A
secondary
#BCC154
accent
#E93EE2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #241F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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