#241776#241776

#241776 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.151 H 278.4°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#241776
RGBrgb(36, 23, 118)
HSLhsl(248, 67%, 28%)
HSVhsv(248, 81%, 46%)
CMYKcmyk(69.5%, 80.5%, 0%, 53.7%)
CIE-LABlab(16.97, 36.10, -51.59)
CIE-LCHlch(16.97, 62.97, 304.98°)
OKLaboklab(30.01% 0.022 -0.149)
OKLCHoklch(30.01% 0.151 278.4)
XYZxyz(4.3029, 2.2955, 17.3523)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241776 #697617
analogous
#173976 #241776 #541776
triadic
#241776 #762417 #177624
tetradic
#241776 #761739 #697617 #177654
square
#241776 #761739 #697617 #177654
split-complementary
#241776 #765417 #397617
monochromatic
#08051A #140D43 #241776 #3421A9 #4731D7

Accessibility & contrast

On white

14.39
#241776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241776
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241776#FFFFFF#000000##FFFFFF
##2417761.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002674
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #241776;
/* rgb */ color: rgb(36, 23, 118);
/* oklch */ color: oklch(30.0% 0.151 278.4);
Tailwind
colors: {
  custom: {
    50: '#6c579f',
    500: '#241776',
    950: '#000000',
  },
}
SCSS
$custom: #241776;
$custom-light: #6c579f;
$custom-dark: #000000;
JSON
{
  "hex": "#241776",
  "rgb": {
    "r": 36,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 248.211,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30014,
    "c": 0.15064,
    "h": 278.4
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

primary
#241776
secondary
#9CAB3E
accent
#EA3ED3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #241776

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

Preview Lab → · Contrast checker → · Palette generator →

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