#241F54#241F54

#241F54 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.9% C 0.093 H 282.8°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#241F54
RGBrgb(36, 31, 84)
HSLhsl(246, 46%, 23%)
HSVhsv(246, 63%, 33%)
CMYKcmyk(57.1%, 63.1%, 0%, 67.1%)
CIE-LABlab(15.46, 19.13, -31.64)
CIE-LCHlch(15.46, 36.98, 301.16°)
OKLaboklab(27.91% 0.0206 -0.0906)
OKLCHoklch(27.91% 0.093 282.8)
XYZxyz(2.8173, 1.9950, 8.6224)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F54 #4F541F
analogous
#1F3554 #241F54 #3E1F54
triadic
#241F54 #54241F #1F5424
tetradic
#241F54 #541F35 #4F541F #1F543E
square
#241F54 #541F35 #4F541F #1F543E
split-complementary
#241F54 #543E1F #35541F
monochromatic
#0A0816 #110F27 #241F54 #372F81 #4A40AD

Accessibility & contrast

On white

15.01
#241F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#241F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F54
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F54#FFFFFF#000000##FFFFFF
##241F541.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002856
Deuteranopia (green-blind)
#002553
Tritanopia (blue-blind)
#102B36
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #241f54;
/* rgb */ color: rgb(36, 31, 84);
/* oklch */ color: oklch(27.9% 0.093 282.8);
Tailwind
colors: {
  custom: {
    50: '#645a85',
    500: '#241f54',
    950: '#000000',
  },
}
SCSS
$custom: #241f54;
$custom-light: #645a85;
$custom-dark: #000000;
JSON
{
  "hex": "#241f54",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 84
  },
  "hsl": {
    "h": 245.66,
    "s": 46.087,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27907,
    "c": 0.09292,
    "h": 282.8
  },
  "luminance": 0.01995
}

Semantic roles & 50–950 ramp

primary
#241F54
secondary
#828946
accent
#D652C9
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06040B
muted
#7A797C

Preview Lab

Preview with #241F54

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

Preview Lab → · Contrast checker → · Palette generator →

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