#241F9D#241F9D

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

Color values

HEX#241F9D
RGBrgb(36, 31, 157)
HSLhsl(242, 67%, 37%)
HSVhsv(242, 80%, 62%)
CMYKcmyk(77.1%, 80.3%, 0%, 38.4%)
CIE-LABlab(22.96, 44.62, -66.13)
CIE-LCHlch(22.96, 79.77, 304.01°)
OKLaboklab(35.53% 0.0085 -0.1914)
OKLCHoklch(35.53% 0.192 272.5)
XYZxyz(7.3013, 3.7886, 32.2382)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F9D #989D1F
analogous
#1F599D #241F9D #631F9D
triadic
#241F9D #9D241F #1F9D24
tetradic
#241F9D #9D1F59 #989D1F #1F9D63
square
#241F9D #9D1F59 #989D1F #1F9D63
split-complementary
#241F9D #9D631F #599D1F
monochromatic
#0D0B37 #18156A #241F9D #3029D0 #5E58DE

Accessibility & contrast

On white

11.95
#241F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241F9D
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F9D#FFFFFF#000000##FFFFFF
##241F9D1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA1
Deuteranopia (green-blind)
#00319B
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #241f9d;
/* rgb */ color: rgb(36, 31, 157);
/* oklch */ color: oklch(35.5% 0.192 272.5);
Tailwind
colors: {
  custom: {
    50: '#755ebb',
    500: '#241f9d',
    950: '#000000',
  },
}
SCSS
$custom: #241f9d;
$custom-light: #755ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#241f9d",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 157
  },
  "hsl": {
    "h": 242.381,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35529,
    "c": 0.19156,
    "h": 272.5
  },
  "luminance": 0.03789
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #241F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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