#241A7C#241A7C

#241A7C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.155 H 276.9°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#241A7C
RGBrgb(36, 26, 124)
HSLhsl(246, 65%, 29%)
HSVhsv(246, 79%, 49%)
CMYKcmyk(71%, 79%, 0%, 51.4%)
CIE-LABlab(18.23, 36.43, -53.36)
CIE-LCHlch(18.23, 64.61, 304.33°)
OKLaboklab(31.1% 0.0187 -0.1542)
OKLCHoklch(31.1% 0.155 276.9)
XYZxyz(4.7339, 2.5687, 19.3112)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241A7C #727C1A
analogous
#1A417C #241A7C #551A7C
triadic
#241A7C #7C241A #1A7C24
tetradic
#241A7C #7C1A41 #727C1A #1A7C55
square
#241A7C #7C1A41 #727C1A #1A7C55
split-complementary
#241A7C #7C551A #417C1A
monochromatic
#070519 #150F49 #241A7C #3325AF #4A3BD6

Accessibility & contrast

On white

13.87
#241A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241A7C
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241A7C#FFFFFF#000000##FFFFFF
##241A7C1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#00287A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #241a7c;
/* rgb */ color: rgb(36, 26, 124);
/* oklch */ color: oklch(31.1% 0.155 276.9);
Tailwind
colors: {
  custom: {
    50: '#6d59a3',
    500: '#241a7c',
    950: '#000000',
  },
}
SCSS
$custom: #241a7c;
$custom-light: #6d59a3;
$custom-dark: #000000;
JSON
{
  "hex": "#241a7c",
  "rgb": {
    "r": 36,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 246.122,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31098,
    "c": 0.15533,
    "h": 276.9
  },
  "luminance": 0.02569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #241A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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