#241B7D#241B7D

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

Color values

HEX#241B7D
RGBrgb(36, 27, 125)
HSLhsl(246, 64%, 30%)
HSVhsv(246, 78%, 49%)
CMYKcmyk(71.2%, 78.4%, 0%, 51%)
CIE-LABlab(18.54, 36.20, -53.48)
CIE-LCHlch(18.54, 64.58, 304.10°)
OKLaboklab(31.35% 0.0179 -0.1546)
OKLCHoklch(31.35% 0.156 276.6)
XYZxyz(4.8199, 2.6392, 19.6535)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241B7D #747D1B
analogous
#1B437D #241B7D #551B7D
triadic
#241B7D #7D241B #1B7D24
tetradic
#241B7D #7D1B43 #747D1B #1B7D55
square
#241B7D #7D1B43 #747D1B #1B7D55
split-complementary
#241B7D #7D551B #437D1B
monochromatic
#070519 #16104B #241B7D #3226AF #4B3DD5

Accessibility & contrast

On white

13.74
#241B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241B7D
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241B7D#FFFFFF#000000##FFFFFF
##241B7D1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241b7d;
/* rgb */ color: rgb(36, 27, 125);
/* oklch */ color: oklch(31.4% 0.156 276.6);
Tailwind
colors: {
  custom: {
    50: '#6d59a4',
    500: '#241b7d',
    950: '#000000',
  },
}
SCSS
$custom: #241b7d;
$custom-light: #6d59a4;
$custom-dark: #000000;
JSON
{
  "hex": "#241b7d",
  "rgb": {
    "r": 36,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 245.51,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3135,
    "c": 0.15561,
    "h": 276.6
  },
  "luminance": 0.0264
}

Semantic roles & 50–950 ramp

primary
#241B7D
secondary
#A7B143
accent
#E740D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #241B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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