#241F4E#241F4E

#241F4E is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.4% C 0.083 H 284.3°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#241F4E
RGBrgb(36, 31, 78)
HSLhsl(246, 43%, 21%)
HSVhsv(246, 60%, 31%)
CMYKcmyk(53.8%, 60.3%, 0%, 69.4%)
CIE-LABlab(14.98, 16.97, -28.34)
CIE-LCHlch(14.98, 33.03, 300.91°)
OKLaboklab(27.4% 0.0206 -0.0809)
OKLCHoklch(27.4% 0.083 284.3)
XYZxyz(2.5923, 1.9050, 7.4374)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F4E #494E1F
analogous
#1F324E #241F4E #3C1F4E
triadic
#241F4E #4E241F #1F4E24
tetradic
#241F4E #4E1F32 #494E1F #1F4E3C
square
#241F4E #4E1F32 #494E1F #1F4E3C
split-complementary
#241F4E #4E3C1F #324E1F
monochromatic
#0A0916 #100E22 #241F4E #38307A #4C42A6

Accessibility & contrast

On white

15.21
#241F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#241F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F4E
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F4E#FFFFFF#000000##FFFFFF
##241F4E1.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052750
Deuteranopia (green-blind)
#03244D
Tritanopia (blue-blind)
#152933
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #241f4e;
/* rgb */ color: rgb(36, 31, 78);
/* oklch */ color: oklch(27.4% 0.083 284.3);
Tailwind
colors: {
  custom: {
    50: '#635a80',
    500: '#241f4e',
    950: '#000000',
  },
}
SCSS
$custom: #241f4e;
$custom-light: #635a80;
$custom-dark: #000000;
JSON
{
  "hex": "#241f4e",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 246.383,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.27398,
    "c": 0.08346,
    "h": 284.3
  },
  "luminance": 0.01905
}

Semantic roles & 50–950 ramp

primary
#241F4E
secondary
#7C8346
accent
#D355C5
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#05040A
muted
#7A797C

Preview Lab

Preview with #241F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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