#241F7D#241F7D

#241F7D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.151 H 275.9°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#241F7D
RGBrgb(36, 31, 125)
HSLhsl(243, 60%, 31%)
HSVhsv(243, 75%, 49%)
CMYKcmyk(71.2%, 75.2%, 0%, 51%)
CIE-LABlab(19.37, 33.85, -52.11)
CIE-LCHlch(19.37, 62.14, 303.01°)
OKLaboklab(31.94% 0.0155 -0.1506)
OKLCHoklch(31.94% 0.151 275.9)
XYZxyz(4.9180, 2.8353, 19.6861)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F7D #787D1F
analogous
#1F497D #241F7D #531F7D
triadic
#241F7D #7D241F #1F7D24
tetradic
#241F7D #7D1F49 #787D1F #1F7D53
square
#241F7D #7D1F49 #787D1F #1F7D53
split-complementary
#241F7D #7D531F #497D1F
monochromatic
#08071B #16134C #241F7D #322BAE #4D45D1

Accessibility & contrast

On white

13.40
#241F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241F7D
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F7D#FFFFFF#000000##FFFFFF
##241F7D1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241f7d;
/* rgb */ color: rgb(36, 31, 125);
/* oklch */ color: oklch(31.9% 0.151 275.9);
Tailwind
colors: {
  custom: {
    50: '#6d5ca4',
    500: '#241f7d',
    950: '#000000',
  },
}
SCSS
$custom: #241f7d;
$custom-light: #6d5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#241f7d",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 125
  },
  "hsl": {
    "h": 243.191,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31941,
    "c": 0.15139,
    "h": 275.9
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#241F7D
secondary
#ABB048
accent
#E344DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #241F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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