#241F7E#241F7E

#241F7E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.153 H 275.8°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#241F7E
RGBrgb(36, 31, 126)
HSLhsl(243, 61%, 31%)
HSVhsv(243, 75%, 49%)
CMYKcmyk(71.4%, 75.4%, 0%, 50.6%)
CIE-LABlab(19.48, 34.20, -52.57)
CIE-LCHlch(19.48, 62.71, 303.05°)
OKLaboklab(32.05% 0.0153 -0.1519)
OKLCHoklch(32.05% 0.153 275.8)
XYZxyz(4.9822, 2.8609, 20.0243)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F7E #797E1F
analogous
#1F497E #241F7E #531F7E
triadic
#241F7E #7E241F #1F7E24
tetradic
#241F7E #7E1F49 #797E1F #1F7E53
square
#241F7E #7E1F49 #797E1F #1F7E53
split-complementary
#241F7E #7E531F #497E1F
monochromatic
#08071C #16134D #241F7E #322BAF #4D46D1

Accessibility & contrast

On white

13.36
#241F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#241F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F7E
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F7E#FFFFFF#000000##FFFFFF
##241F7E1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #241f7e;
/* rgb */ color: rgb(36, 31, 126);
/* oklch */ color: oklch(32.0% 0.153 275.8);
Tailwind
colors: {
  custom: {
    50: '#6d5ca4',
    500: '#241f7e',
    950: '#000000',
  },
}
SCSS
$custom: #241f7e;
$custom-light: #6d5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#241f7e",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 243.158,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32049,
    "c": 0.1527,
    "h": 275.8
  },
  "luminance": 0.02861
}

Semantic roles & 50–950 ramp

primary
#241F7E
secondary
#ACB148
accent
#E444DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #241F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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