#241F79#241F79

#241F79 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.146 H 276.4°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#241F79
RGBrgb(36, 31, 121)
HSLhsl(243, 59%, 30%)
HSVhsv(243, 74%, 47%)
CMYKcmyk(70.2%, 74.4%, 0%, 52.5%)
CIE-LABlab(18.95, 32.45, -50.25)
CIE-LCHlch(18.95, 59.82, 302.86°)
OKLaboklab(31.51% 0.0163 -0.1452)
OKLCHoklch(31.51% 0.146 276.4)
XYZxyz(4.6676, 2.7351, 18.3674)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F79 #74791F
analogous
#1F4779 #241F79 #511F79
triadic
#241F79 #79241F #1F7924
tetradic
#241F79 #791F47 #74791F #1F7951
square
#241F79 #791F47 #74791F #1F7951
split-complementary
#241F79 #79511F #47791F
monochromatic
#070618 #161348 #241F79 #322BAA #4B43CF

Accessibility & contrast

On white

13.57
#241F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#241F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F79
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F79#FFFFFF#000000##FFFFFF
##241F791.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002A77
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #241f79;
/* rgb */ color: rgb(36, 31, 121);
/* oklch */ color: oklch(31.5% 0.146 276.4);
Tailwind
colors: {
  custom: {
    50: '#6c5ca1',
    500: '#241f79',
    950: '#000000',
  },
}
SCSS
$custom: #241f79;
$custom-light: #6c5ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#241f79",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 243.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31514,
    "c": 0.14608,
    "h": 276.4
  },
  "luminance": 0.02736
}

Semantic roles & 50–950 ramp

primary
#241F79
secondary
#A7AC47
accent
#E245DA
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #241F79

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

Preview Lab → · Contrast checker → · Palette generator →

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