#241F72#241F72

#241F72 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.137 H 277.4°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#241F72
RGBrgb(36, 31, 114)
HSLhsl(244, 57%, 28%)
HSVhsv(244, 73%, 45%)
CMYKcmyk(68.4%, 72.8%, 0%, 55.3%)
CIE-LABlab(18.23, 29.98, -46.93)
CIE-LCHlch(18.23, 55.69, 302.57°)
OKLaboklab(30.78% 0.0176 -0.1355)
OKLCHoklch(30.78% 0.137 277.4)
XYZxyz(4.2538, 2.5696, 16.1881)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F72 #6D721F
analogous
#1F4372 #241F72 #4D1F72
triadic
#241F72 #72241F #1F7224
tetradic
#241F72 #721F43 #6D721F #1F724D
square
#241F72 #721F43 #6D721F #1F724D
split-complementary
#241F72 #724D1F #43721F
monochromatic
#080718 #151242 #241F72 #332CA2 #4940CB

Accessibility & contrast

On white

13.87
#241F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241F72
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F72#FFFFFF#000000##FFFFFF
##241F721.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#002970
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #241f72;
/* rgb */ color: rgb(36, 31, 114);
/* oklch */ color: oklch(30.8% 0.137 277.4);
Tailwind
colors: {
  custom: {
    50: '#6a5b9b',
    500: '#241f72',
    950: '#000000',
  },
}
SCSS
$custom: #241f72;
$custom-light: #6a5b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#241f72",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 243.614,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3078,
    "c": 0.13661,
    "h": 277.4
  },
  "luminance": 0.0257
}

Semantic roles & 50–950 ramp

primary
#241F72
secondary
#A0A647
accent
#E047D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #241F72

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

Preview Lab → · Contrast checker → · Palette generator →

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