#241F5F#241F5F

#241F5F is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.9% C 0.110 H 280.6°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#241F5F
RGBrgb(36, 31, 95)
HSLhsl(245, 51%, 25%)
HSVhsv(245, 67%, 37%)
CMYKcmyk(62.1%, 67.4%, 0%, 62.7%)
CIE-LABlab(16.41, 23.13, -37.47)
CIE-LCHlch(16.41, 44.04, 301.68°)
OKLaboklab(28.9% 0.0201 -0.1077)
OKLCHoklch(28.9% 0.11 280.6)
XYZxyz(3.2825, 2.1810, 11.0723)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F5F #5A5F1F
analogous
#1F3A5F #241F5F #441F5F
triadic
#241F5F #5F241F #1F5F24
tetradic
#241F5F #5F1F3A #5A5F1F #1F5F44
square
#241F5F #5F1F3A #5A5F1F #1F5F44
split-complementary
#241F5F #5F441F #3A5F1F
monochromatic
#090817 #131031 #241F5F #352E8D #473DBB

Accessibility & contrast

On white

14.62
#241F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#241F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F5F
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F5F#FFFFFF#000000##FFFFFF
##241F5F1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#00265E
Tritanopia (blue-blind)
#022F3B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #241f5f;
/* rgb */ color: rgb(36, 31, 95);
/* oklch */ color: oklch(28.9% 0.110 280.6);
Tailwind
colors: {
  custom: {
    50: '#665b8d',
    500: '#241f5f',
    950: '#000000',
  },
}
SCSS
$custom: #241f5f;
$custom-light: #665b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#241f5f",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 95
  },
  "hsl": {
    "h": 244.688,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28902,
    "c": 0.10959,
    "h": 280.6
  },
  "luminance": 0.02181
}

Semantic roles & 50–950 ramp

primary
#241F5F
secondary
#8E9446
accent
#DA4ECF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #241F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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