#241E8B#241E8B

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

Color values

HEX#241E8B
RGBrgb(36, 30, 139)
HSLhsl(243, 64%, 33%)
HSVhsv(243, 78%, 55%)
CMYKcmyk(74.1%, 78.4%, 0%, 45.5%)
CIE-LABlab(20.70, 39.22, -58.74)
CIE-LCHlch(20.70, 70.63, 303.73°)
OKLaboklab(33.34% 0.0131 -0.1699)
OKLCHoklch(33.34% 0.17 274.4)
XYZxyz(5.8505, 3.1671, 24.7241)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241E8B #858B1E
analogous
#1E4E8B #241E8B #5A1E8B
triadic
#241E8B #8B241E #1E8B24
tetradic
#241E8B #8B1E4E #858B1E #1E8B5A
square
#241E8B #8B1E4E #858B1E #1E8B5A
split-complementary
#241E8B #8B5A1E #4E8B1E
monochromatic
#0A0826 #171359 #241E8B #3129BD #534BD8

Accessibility & contrast

On white

12.86
#241E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#241E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241E8B
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241E8B#FFFFFF#000000##FFFFFF
##241E8B1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378E
Deuteranopia (green-blind)
#002D89
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #241e8b;
/* rgb */ color: rgb(36, 30, 139);
/* oklch */ color: oklch(33.3% 0.170 274.4);
Tailwind
colors: {
  custom: {
    50: '#705cae',
    500: '#241e8b',
    950: '#000000',
  },
}
SCSS
$custom: #241e8b;
$custom-light: #705cae;
$custom-dark: #000000;
JSON
{
  "hex": "#241e8b",
  "rgb": {
    "r": 36,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 243.303,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33339,
    "c": 0.17039,
    "h": 274.4
  },
  "luminance": 0.03168
}

Semantic roles & 50–950 ramp

primary
#241E8B
secondary
#B4BB4A
accent
#E740DE
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #241E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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