#241F78#241F78

#241F78 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.145 H 276.5°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#241F78
RGBrgb(36, 31, 120)
HSLhsl(243, 59%, 30%)
HSVhsv(243, 74%, 47%)
CMYKcmyk(70%, 74.2%, 0%, 52.9%)
CIE-LABlab(18.85, 32.10, -49.78)
CIE-LCHlch(18.85, 59.23, 302.82°)
OKLaboklab(31.41% 0.0165 -0.1438)
OKLCHoklch(31.41% 0.145 276.5)
XYZxyz(4.6066, 2.7107, 18.0461)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F78 #73781F
analogous
#1F4778 #241F78 #511F78
triadic
#241F78 #78241F #1F7824
tetradic
#241F78 #781F47 #73781F #1F7851
square
#241F78 #781F47 #73781F #1F7851
split-complementary
#241F78 #78511F #47781F
monochromatic
#070618 #151247 #241F78 #332CA9 #4B43CE

Accessibility & contrast

On white

13.62
#241F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#241F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F78
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F78#FFFFFF#000000##FFFFFF
##241F781.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#002A76
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #241f78;
/* rgb */ color: rgb(36, 31, 120);
/* oklch */ color: oklch(31.4% 0.145 276.5);
Tailwind
colors: {
  custom: {
    50: '#6c5ca0',
    500: '#241f78',
    950: '#000000',
  },
}
SCSS
$custom: #241f78;
$custom-light: #6c5ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#241f78",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 243.371,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31408,
    "c": 0.14474,
    "h": 276.5
  },
  "luminance": 0.02711
}

Semantic roles & 50–950 ramp

primary
#241F78
secondary
#A6AB47
accent
#E246D9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040F
muted
#7A797E

Preview Lab

Preview with #241F78

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

Preview Lab → · Contrast checker → · Palette generator →

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