#241B8C#241B8C

#241B8C is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.174 H 274.7°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#241B8C
RGBrgb(36, 27, 140)
HSLhsl(245, 68%, 33%)
HSVhsv(245, 81%, 55%)
CMYKcmyk(74.3%, 80.7%, 0%, 45.1%)
CIE-LABlab(20.25, 41.18, -60.11)
CIE-LCHlch(20.25, 72.86, 304.41°)
OKLaboklab(33.06% 0.0142 -0.1738)
OKLCHoklch(33.06% 0.174 274.7)
XYZxyz(5.8515, 3.0518, 25.0865)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241B8C #838C1B
analogous
#1B4A8C #241B8C #5D1B8C
triadic
#241B8C #8C241B #1B8C24
tetradic
#241B8C #8C1B4A #838C1B #1B8C5D
square
#241B8C #8C1B4A #838C1B #1B8C5D
split-complementary
#241B8C #8C5D1B #4A8C1B
monochromatic
#0A0725 #171159 #241B8C #3125BF #5246DB

Accessibility & contrast

On white

13.04
#241B8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241B8C
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241B8C#FFFFFF#000000##FFFFFF
##241B8C1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368F
Deuteranopia (green-blind)
#002C8A
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #241b8c;
/* rgb */ color: rgb(36, 27, 140);
/* oklch */ color: oklch(33.1% 0.174 274.7);
Tailwind
colors: {
  custom: {
    50: '#715aaf',
    500: '#241b8c',
    950: '#000000',
  },
}
SCSS
$custom: #241b8c;
$custom-light: #715aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#241b8c",
  "rgb": {
    "r": 36,
    "g": 27,
    "b": 140
  },
  "hsl": {
    "h": 244.779,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33057,
    "c": 0.17442,
    "h": 274.7
  },
  "luminance": 0.03052
}

Semantic roles & 50–950 ramp

primary
#241B8C
secondary
#B3BD46
accent
#EB3DDD
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #241B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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