#241380#241380

#241380 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.7% C 0.167 H 277.2°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#241380
RGBrgb(36, 19, 128)
HSLhsl(249, 74%, 29%)
HSVhsv(249, 85%, 50%)
CMYKcmyk(71.9%, 85.2%, 0%, 49.8%)
CIE-LABlab(17.46, 41.32, -57.18)
CIE-LCHlch(17.46, 70.55, 305.85°)
OKLaboklab(30.7% 0.021 -0.1652)
OKLCHoklch(30.7% 0.167 277.2)
XYZxyz(4.8554, 2.3989, 20.6250)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241380 #6F8013
analogous
#133980 #241380 #5B1380
triadic
#241380 #802413 #138024
tetradic
#241380 #801339 #6F8013 #13805B
square
#241380 #801339 #6F8013 #13805B
split-complementary
#241380 #805B13 #398013
monochromatic
#07041B #150B4B #241380 #331BB5 #492DE0

Accessibility & contrast

On white

14.19
#241380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#241380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241380
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241380#FFFFFF#000000##FFFFFF
##2413801.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #241380;
/* rgb */ color: rgb(36, 19, 128);
/* oklch */ color: oklch(30.7% 0.167 277.2);
Tailwind
colors: {
  custom: {
    50: '#6f55a6',
    500: '#241380',
    950: '#000000',
  },
}
SCSS
$custom: #241380;
$custom-light: #6f55a6;
$custom-dark: #000000;
JSON
{
  "hex": "#241380",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 249.358,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30699,
    "c": 0.16654,
    "h": 277.2
  },
  "luminance": 0.02399
}

Semantic roles & 50–950 ramp

primary
#241380
secondary
#A2B539
accent
#F137D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #241380

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

Preview Lab → · Contrast checker → · Palette generator →

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