#241F76#241F76

#241F76 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.142 H 276.8°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#241F76
RGBrgb(36, 31, 118)
HSLhsl(243, 58%, 29%)
HSVhsv(243, 74%, 46%)
CMYKcmyk(69.5%, 73.7%, 0%, 53.7%)
CIE-LABlab(18.64, 31.39, -48.84)
CIE-LCHlch(18.64, 58.06, 302.73°)
OKLaboklab(31.2% 0.0169 -0.141)
OKLCHoklch(31.2% 0.142 276.8)
XYZxyz(4.4865, 2.6627, 17.4135)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F76 #71761F
analogous
#1F4676 #241F76 #501F76
triadic
#241F76 #76241F #1F7624
tetradic
#241F76 #761F46 #71761F #1F7650
square
#241F76 #761F46 #71761F #1F7650
split-complementary
#241F76 #76501F #46761F
monochromatic
#070618 #151246 #241F76 #332CA6 #4A42CD

Accessibility & contrast

On white

13.70
#241F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#241F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F76
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F76#FFFFFF#000000##FFFFFF
##241F761.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #241f76;
/* rgb */ color: rgb(36, 31, 118);
/* oklch */ color: oklch(31.2% 0.142 276.8);
Tailwind
colors: {
  custom: {
    50: '#6b5c9e',
    500: '#241f76',
    950: '#000000',
  },
}
SCSS
$custom: #241f76;
$custom-light: #6b5c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#241f76",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 243.448,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31197,
    "c": 0.14205,
    "h": 276.8
  },
  "luminance": 0.02663
}

Semantic roles & 50–950 ramp

primary
#241F76
secondary
#A4AA47
accent
#E246D9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #241F76

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

Preview Lab → · Contrast checker → · Palette generator →

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