#241F74#241F74

#241F74 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.139 H 277.1°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#241F74
RGBrgb(36, 31, 116)
HSLhsl(244, 58%, 29%)
HSVhsv(244, 73%, 45%)
CMYKcmyk(69%, 73.3%, 0%, 54.5%)
CIE-LABlab(18.43, 30.69, -47.89)
CIE-LCHlch(18.43, 56.88, 302.65°)
OKLaboklab(30.99% 0.0172 -0.1383)
OKLCHoklch(30.99% 0.139 277.1)
XYZxyz(4.3689, 2.6156, 16.7942)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F74 #6F741F
analogous
#1F4574 #241F74 #4F1F74
triadic
#241F74 #74241F #1F7424
tetradic
#241F74 #741F45 #6F741F #1F744F
square
#241F74 #741F45 #6F741F #1F744F
split-complementary
#241F74 #744F1F #45741F
monochromatic
#070618 #151244 #241F74 #332CA4 #4941CC

Accessibility & contrast

On white

13.79
#241F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#241F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F74
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F74#FFFFFF#000000##FFFFFF
##241F741.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #241f74;
/* rgb */ color: rgb(36, 31, 116);
/* oklch */ color: oklch(31.0% 0.139 277.1);
Tailwind
colors: {
  custom: {
    50: '#6b5b9d',
    500: '#241f74',
    950: '#000000',
  },
}
SCSS
$custom: #241f74;
$custom-light: #6b5b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#241f74",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 243.529,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30988,
    "c": 0.13934,
    "h": 277.1
  },
  "luminance": 0.02616
}

Semantic roles & 50–950 ramp

primary
#241F74
secondary
#A2A847
accent
#E147D8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #241F74

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

Preview Lab → · Contrast checker → · Palette generator →

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