#241A7E#241A7E

#241A7E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.158 H 276.6°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#241A7E
RGBrgb(36, 26, 126)
HSLhsl(246, 66%, 30%)
HSVhsv(246, 79%, 49%)
CMYKcmyk(71.4%, 79.4%, 0%, 50.6%)
CIE-LABlab(18.45, 37.10, -54.26)
CIE-LCHlch(18.45, 65.73, 304.36°)
OKLaboklab(31.32% 0.0182 -0.1568)
OKLCHoklch(31.32% 0.158 276.6)
XYZxyz(4.8616, 2.6198, 19.9841)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241A7E #747E1A
analogous
#1A427E #241A7E #561A7E
triadic
#241A7E #7E241A #1A7E24
tetradic
#241A7E #7E1A42 #747E1A #1A7E56
square
#241A7E #7E1A42 #747E1A #1A7E56
split-complementary
#241A7E #7E561A #427E1A
monochromatic
#070519 #16104B #241A7E #3224B1 #4B3CD7

Accessibility & contrast

On white

13.78
#241A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#241A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241A7E
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241A7E#FFFFFF#000000##FFFFFF
##241A7E1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241a7e;
/* rgb */ color: rgb(36, 26, 126);
/* oklch */ color: oklch(31.3% 0.158 276.6);
Tailwind
colors: {
  custom: {
    50: '#6e59a4',
    500: '#241a7e',
    950: '#000000',
  },
}
SCSS
$custom: #241a7e;
$custom-light: #6e59a4;
$custom-dark: #000000;
JSON
{
  "hex": "#241a7e",
  "rgb": {
    "r": 36,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 246,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31324,
    "c": 0.15788,
    "h": 276.6
  },
  "luminance": 0.0262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #241A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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