#241F71#241F71

#241F71 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.135 H 277.5°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#241F71
RGBrgb(36, 31, 113)
HSLhsl(244, 57%, 28%)
HSVhsv(244, 73%, 44%)
CMYKcmyk(68.1%, 72.6%, 0%, 55.7%)
CIE-LABlab(18.13, 29.62, -46.45)
CIE-LCHlch(18.13, 55.09, 302.52°)
OKLaboklab(30.68% 0.0177 -0.1341)
OKLCHoklch(30.68% 0.135 277.5)
XYZxyz(4.1972, 2.5469, 15.8900)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F71 #6C711F
analogous
#1F4371 #241F71 #4D1F71
triadic
#241F71 #71241F #1F7124
tetradic
#241F71 #711F43 #6C711F #1F714D
square
#241F71 #711F43 #6C711F #1F714D
split-complementary
#241F71 #714D1F #43711F
monochromatic
#080718 #151241 #241F71 #332CA1 #4840CB

Accessibility & contrast

On white

13.91
#241F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#241F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F71
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F71#FFFFFF#000000##FFFFFF
##241F711.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003073
Deuteranopia (green-blind)
#00296F
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #241f71;
/* rgb */ color: rgb(36, 31, 113);
/* oklch */ color: oklch(30.7% 0.135 277.5);
Tailwind
colors: {
  custom: {
    50: '#6a5b9b',
    500: '#241f71',
    950: '#000000',
  },
}
SCSS
$custom: #241f71;
$custom-light: #6a5b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#241f71",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 243.659,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30677,
    "c": 0.13524,
    "h": 277.5
  },
  "luminance": 0.02547
}

Semantic roles & 50–950 ramp

primary
#241F71
secondary
#9FA547
accent
#E048D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #241F71

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

Preview Lab → · Contrast checker → · Palette generator →

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