#241A8E#241A8E

#241A8E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.178 H 274.5°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#241A8E
RGBrgb(36, 26, 142)
HSLhsl(245, 69%, 33%)
HSVhsv(245, 82%, 56%)
CMYKcmyk(74.6%, 81.7%, 0%, 44.3%)
CIE-LABlab(20.31, 42.34, -61.26)
CIE-LCHlch(20.31, 74.47, 304.65°)
OKLaboklab(33.17% 0.0141 -0.1772)
OKLCHoklch(33.17% 0.178 274.5)
XYZxyz(5.9778, 3.0663, 25.8627)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241A8E #848E1A
analogous
#1A4A8E #241A8E #5E1A8E
triadic
#241A8E #8E241A #1A8E24
tetradic
#241A8E #8E1A4A #848E1A #1A8E5E
square
#241A8E #8E1A4A #848E1A #1A8E5E
split-complementary
#241A8E #8E5E1A #4A8E1A
monochromatic
#0A0727 #17115A #241A8E #3123C2 #5245DD

Accessibility & contrast

On white

13.02
#241A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#241A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241A8E
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241A8E#FFFFFF#000000##FFFFFF
##241A8E1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003691
Deuteranopia (green-blind)
#002C8C
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #241a8e;
/* rgb */ color: rgb(36, 26, 142);
/* oklch */ color: oklch(33.2% 0.178 274.5);
Tailwind
colors: {
  custom: {
    50: '#715ab0',
    500: '#241a8e',
    950: '#000000',
  },
}
SCSS
$custom: #241a8e;
$custom-light: #715ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#241a8e",
  "rgb": {
    "r": 36,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 245.172,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33165,
    "c": 0.17773,
    "h": 274.5
  },
  "luminance": 0.03067
}

Semantic roles & 50–950 ramp

primary
#241A8E
secondary
#B4BE45
accent
#EC3CDD
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #241A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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