#241972#241972

#241972 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.143 H 278.8°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#241972
RGBrgb(36, 25, 114)
HSLhsl(247, 64%, 27%)
HSVhsv(247, 78%, 45%)
CMYKcmyk(68.4%, 78.1%, 0%, 55.3%)
CIE-LABlab(16.92, 33.64, -49.10)
CIE-LCHlch(16.92, 59.51, 304.42°)
OKLaboklab(29.85% 0.0219 -0.1418)
OKLCHoklch(29.85% 0.143 278.8)
XYZxyz(4.1115, 2.2849, 16.1407)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241972 #677219
analogous
#193A72 #241972 #511972
triadic
#241972 #722419 #197224
tetradic
#241972 #72193A #677219 #197251
square
#241972 #72193A #677219 #197251
split-complementary
#241972 #725119 #3A7219
monochromatic
#080619 #140E40 #241972 #3424A4 #4733D2

Accessibility & contrast

On white

14.41
#241972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#241972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241972
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241972#FFFFFF#000000##FFFFFF
##2419721.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D75
Deuteranopia (green-blind)
#002670
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #241972;
/* rgb */ color: rgb(36, 25, 114);
/* oklch */ color: oklch(29.8% 0.143 278.8);
Tailwind
colors: {
  custom: {
    50: '#6b589c',
    500: '#241972',
    950: '#000000',
  },
}
SCSS
$custom: #241972;
$custom-light: #6b589c;
$custom-dark: #000000;
JSON
{
  "hex": "#241972",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 247.416,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29845,
    "c": 0.14343,
    "h": 278.8
  },
  "luminance": 0.02285
}

Semantic roles & 50–950 ramp

primary
#241972
secondary
#9AA740
accent
#E741D2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #241972

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

Preview Lab → · Contrast checker → · Palette generator →

#241972 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva