#241A8F#241A8F

#241A8F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.179 H 274.4°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#241A8F
RGBrgb(36, 26, 143)
HSLhsl(245, 69%, 33%)
HSVhsv(245, 82%, 56%)
CMYKcmyk(74.8%, 81.8%, 0%, 43.9%)
CIE-LABlab(20.43, 42.66, -61.69)
CIE-LCHlch(20.43, 75.00, 304.67°)
OKLaboklab(33.28% 0.0138 -0.1784)
OKLCHoklch(33.28% 0.179 274.4)
XYZxyz(6.0532, 3.0964, 26.2599)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241A8F #858F1A
analogous
#1A4A8F #241A8F #5E1A8F
triadic
#241A8F #8F241A #1A8F24
tetradic
#241A8F #8F1A4A #858F1A #1A8F5E
square
#241A8F #8F1A4A #858F1A #1A8F5E
split-complementary
#241A8F #8F5E1A #4A8F1A
monochromatic
#0A0727 #17115B #241A8F #3123C3 #5346DD

Accessibility & contrast

On white

12.97
#241A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#241A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241A8F
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241A8F#FFFFFF#000000##FFFFFF
##241A8F1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002C8D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #241a8f;
/* rgb */ color: rgb(36, 26, 143);
/* oklch */ color: oklch(33.3% 0.179 274.4);
Tailwind
colors: {
  custom: {
    50: '#725ab1',
    500: '#241a8f',
    950: '#000000',
  },
}
SCSS
$custom: #241a8f;
$custom-light: #725ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#241a8f",
  "rgb": {
    "r": 36,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 245.128,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33283,
    "c": 0.17894,
    "h": 274.4
  },
  "luminance": 0.03097
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #241A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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