#241678#241678

#241678 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.154 H 278.2°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#241678
RGBrgb(36, 22, 120)
HSLhsl(249, 69%, 28%)
HSVhsv(249, 82%, 47%)
CMYKcmyk(70%, 81.7%, 0%, 52.9%)
CIE-LABlab(17.01, 37.29, -52.81)
CIE-LCHlch(17.01, 64.65, 305.23°)
OKLaboklab(30.11% 0.022 -0.1525)
OKLCHoklch(30.11% 0.154 278.2)
XYZxyz(4.4035, 2.3046, 17.9784)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241678 #6A7816
analogous
#163978 #241678 #551678
triadic
#241678 #782416 #167824
tetradic
#241678 #781639 #6A7816 #167855
square
#241678 #781639 #6A7816 #167855
split-complementary
#241678 #785516 #397816
monochromatic
#08051A #140D44 #241678 #341FAC #482FD9

Accessibility & contrast

On white

14.37
#241678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241678
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241678#FFFFFF#000000##FFFFFF
##2416781.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7B
Deuteranopia (green-blind)
#002676
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #241678;
/* rgb */ color: rgb(36, 22, 120);
/* oklch */ color: oklch(30.1% 0.154 278.2);
Tailwind
colors: {
  custom: {
    50: '#6c56a0',
    500: '#241678',
    950: '#000000',
  },
}
SCSS
$custom: #241678;
$custom-light: #6c56a0;
$custom-dark: #000000;
JSON
{
  "hex": "#241678",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 248.571,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30112,
    "c": 0.15412,
    "h": 278.2
  },
  "luminance": 0.02305
}

Semantic roles & 50–950 ramp

primary
#241678
secondary
#9DAD3C
accent
#EC3CD3
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #241678

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

Preview Lab → · Contrast checker → · Palette generator →

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