#241F57#241F57

#241F57 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.2% C 0.098 H 282.2°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#241F57
RGBrgb(36, 31, 87)
HSLhsl(245, 47%, 23%)
HSVhsv(245, 64%, 34%)
CMYKcmyk(58.6%, 64.4%, 0%, 65.9%)
CIE-LABlab(15.71, 20.22, -33.26)
CIE-LCHlch(15.71, 38.92, 301.30°)
OKLaboklab(28.17% 0.0206 -0.0954)
OKLCHoklch(28.17% 0.098 282.2)
XYZxyz(2.9373, 2.0430, 9.2545)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F57 #52571F
analogous
#1F3657 #241F57 #401F57
triadic
#241F57 #57241F #1F5724
tetradic
#241F57 #571F36 #52571F #1F5740
square
#241F57 #571F36 #52571F #1F5740
split-complementary
#241F57 #57401F #36571F
monochromatic
#090817 #110F2A #241F57 #372F84 #493FB1

Accessibility & contrast

On white

14.91
#241F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#241F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F57
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F57#FFFFFF#000000##FFFFFF
##241F571.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002959
Deuteranopia (green-blind)
#002556
Tritanopia (blue-blind)
#0D2C37
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #241f57;
/* rgb */ color: rgb(36, 31, 87);
/* oklch */ color: oklch(28.2% 0.098 282.2);
Tailwind
colors: {
  custom: {
    50: '#645a87',
    500: '#241f57',
    950: '#000000',
  },
}
SCSS
$custom: #241f57;
$custom-light: #645a87;
$custom-dark: #000000;
JSON
{
  "hex": "#241f57",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 87
  },
  "hsl": {
    "h": 245.357,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.2817,
    "c": 0.09755,
    "h": 282.2
  },
  "luminance": 0.02043
}

Semantic roles & 50–950 ramp

primary
#241F57
secondary
#868C46
accent
#D751CB
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06040B
muted
#7A797C

Preview Lab

Preview with #241F57

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

Preview Lab → · Contrast checker → · Palette generator →

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