#241B7E#241B7E

#241B7E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.157 H 276.5°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#241B7E
RGBrgb(36, 27, 126)
HSLhsl(245, 65%, 30%)
HSVhsv(245, 79%, 49%)
CMYKcmyk(71.4%, 78.6%, 0%, 50.6%)
CIE-LABlab(18.65, 36.54, -53.94)
CIE-LCHlch(18.65, 65.15, 304.12°)
OKLaboklab(31.46% 0.0177 -0.1559)
OKLCHoklch(31.46% 0.157 276.5)
XYZxyz(4.8842, 2.6648, 19.9916)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241B7E #757E1B
analogous
#1B437E #241B7E #561B7E
triadic
#241B7E #7E241B #1B7E24
tetradic
#241B7E #7E1B43 #757E1B #1B7E56
square
#241B7E #7E1B43 #757E1B #1B7E56
split-complementary
#241B7E #7E561B #437E1B
monochromatic
#070519 #16104C #241B7E #3226B0 #4C3ED6

Accessibility & contrast

On white

13.70
#241B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241B7E
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241B7E#FFFFFF#000000##FFFFFF
##241B7E1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241b7e;
/* rgb */ color: rgb(36, 27, 126);
/* oklch */ color: oklch(31.5% 0.157 276.5);
Tailwind
colors: {
  custom: {
    50: '#6d59a4',
    500: '#241b7e',
    950: '#000000',
  },
}
SCSS
$custom: #241b7e;
$custom-light: #6d59a4;
$custom-dark: #000000;
JSON
{
  "hex": "#241b7e",
  "rgb": {
    "r": 36,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 245.455,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.31462,
    "c": 0.15689,
    "h": 276.5
  },
  "luminance": 0.02665
}

Semantic roles & 50–950 ramp

primary
#241B7E
secondary
#A8B243
accent
#E840D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #241B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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