#241A7F#241A7F

#241A7F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.159 H 276.5°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#241A7F
RGBrgb(36, 26, 127)
HSLhsl(246, 66%, 30%)
HSVhsv(246, 80%, 50%)
CMYKcmyk(71.7%, 79.5%, 0%, 50.2%)
CIE-LABlab(18.57, 37.44, -54.71)
CIE-LCHlch(18.57, 66.29, 304.38°)
OKLaboklab(31.44% 0.018 -0.1581)
OKLCHoklch(31.44% 0.159 276.5)
XYZxyz(4.9265, 2.6457, 20.3256)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241A7F #757F1A
analogous
#1A427F #241A7F #571A7F
triadic
#241A7F #7F241A #1A7F24
tetradic
#241A7F #7F1A42 #757F1A #1A7F57
square
#241A7F #7F1A42 #757F1A #1A7F57
split-complementary
#241A7F #7F571A #427F1A
monochromatic
#070519 #16104C #241A7F #3224B2 #4C3CD7

Accessibility & contrast

On white

13.73
#241A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#241A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241A7F
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241A7F#FFFFFF#000000##FFFFFF
##241A7F1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00297D
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #241a7f;
/* rgb */ color: rgb(36, 26, 127);
/* oklch */ color: oklch(31.4% 0.159 276.5);
Tailwind
colors: {
  custom: {
    50: '#6e59a5',
    500: '#241a7f',
    950: '#000000',
  },
}
SCSS
$custom: #241a7f;
$custom-light: #6e59a5;
$custom-dark: #000000;
JSON
{
  "hex": "#241a7f",
  "rgb": {
    "r": 36,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 245.941,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.31437,
    "c": 0.15915,
    "h": 276.5
  },
  "luminance": 0.02646
}

Semantic roles & 50–950 ramp

primary
#241A7F
secondary
#A8B342
accent
#E93FD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #241A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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