#241768#241768

#241768 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.132 H 281.2°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#241768
RGBrgb(36, 23, 104)
HSLhsl(250, 64%, 25%)
HSVhsv(250, 78%, 41%)
CMYKcmyk(65.4%, 77.9%, 0%, 59.2%)
CIE-LABlab(15.42, 31.42, -45.04)
CIE-LCHlch(15.42, 54.92, 304.90°)
OKLaboklab(28.46% 0.0258 -0.1299)
OKLCHoklch(28.46% 0.132 281.2)
XYZxyz(3.5319, 1.9871, 13.2914)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241768 #5B6817
analogous
#173268 #241768 #4D1768
triadic
#241768 #682417 #176824
tetradic
#241768 #681732 #5B6817 #17684D
square
#241768 #681732 #5B6817 #17684D
split-complementary
#241768 #684D17 #326817
monochromatic
#090619 #130C36 #241768 #35229A #472DCC

Accessibility & contrast

On white

15.03
#241768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#241768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241768
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241768#FFFFFF#000000##FFFFFF
##2417681.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002467
Tritanopia (blue-blind)
#002E3E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #241768;
/* rgb */ color: rgb(36, 23, 104);
/* oklch */ color: oklch(28.5% 0.132 281.2);
Tailwind
colors: {
  custom: {
    50: '#695694',
    500: '#241768',
    950: '#000000',
  },
}
SCSS
$custom: #241768;
$custom-light: #695694;
$custom-dark: #000000;
JSON
{
  "hex": "#241768",
  "rgb": {
    "r": 36,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 249.63,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28462,
    "c": 0.13244,
    "h": 281.2
  },
  "luminance": 0.01987
}

Semantic roles & 50–950 ramp

primary
#241768
secondary
#8F9E3D
accent
#E741CC
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #241768

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

Preview Lab → · Contrast checker → · Palette generator →

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