#241A7B#241A7B

#241A7B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.154 H 277.1°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#241A7B
RGBrgb(36, 26, 123)
HSLhsl(246, 65%, 29%)
HSVhsv(246, 79%, 48%)
CMYKcmyk(70.7%, 78.9%, 0%, 51.8%)
CIE-LABlab(18.11, 36.10, -52.90)
CIE-LCHlch(18.11, 64.05, 304.31°)
OKLaboklab(30.99% 0.019 -0.1529)
OKLCHoklch(30.99% 0.154 277.1)
XYZxyz(4.6709, 2.5435, 18.9798)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241A7B #717B1A
analogous
#1A407B #241A7B #551A7B
triadic
#241A7B #7B241A #1A7B24
tetradic
#241A7B #7B1A40 #717B1A #1A7B55
square
#241A7B #7B1A40 #717B1A #1A7B55
split-complementary
#241A7B #7B551A #407B1A
monochromatic
#070519 #150F48 #241A7B #3325AE #4A3AD5

Accessibility & contrast

On white

13.92
#241A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#241A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241A7B
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241A7B#FFFFFF#000000##FFFFFF
##241A7B1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002879
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #241a7b;
/* rgb */ color: rgb(36, 26, 123);
/* oklch */ color: oklch(31.0% 0.154 277.1);
Tailwind
colors: {
  custom: {
    50: '#6d59a2',
    500: '#241a7b',
    950: '#000000',
  },
}
SCSS
$custom: #241a7b;
$custom-light: #6d59a2;
$custom-dark: #000000;
JSON
{
  "hex": "#241a7b",
  "rgb": {
    "r": 36,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 246.186,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30986,
    "c": 0.15405,
    "h": 277.1
  },
  "luminance": 0.02544
}

Semantic roles & 50–950 ramp

primary
#241A7B
secondary
#A4AF42
accent
#E840D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #241A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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