#241B71#241B71

#241B71 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.140 H 278.5°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#241B71
RGBrgb(36, 27, 113)
HSLhsl(246, 61%, 27%)
HSVhsv(246, 76%, 44%)
CMYKcmyk(68.1%, 76.1%, 0%, 55.7%)
CIE-LABlab(17.23, 32.11, -47.93)
CIE-LCHlch(17.23, 57.69, 303.82°)
OKLaboklab(30.04% 0.0207 -0.1384)
OKLCHoklch(30.04% 0.14 278.5)
XYZxyz(4.0992, 2.3509, 15.8573)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241B71 #68711B
analogous
#1B3D71 #241B71 #4F1B71
triadic
#241B71 #71241B #1B7124
tetradic
#241B71 #711B3D #68711B #1B714F
square
#241B71 #711B3D #68711B #1B714F
split-complementary
#241B71 #714F1B #3D711B
monochromatic
#080619 #140F40 #241B71 #3427A2 #4737CF

Accessibility & contrast

On white

14.28
#241B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#241B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241B71
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241B71#FFFFFF#000000##FFFFFF
##241B711.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#00276F
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #241b71;
/* rgb */ color: rgb(36, 27, 113);
/* oklch */ color: oklch(30.0% 0.140 278.5);
Tailwind
colors: {
  custom: {
    50: '#6a599b',
    500: '#241b71',
    950: '#000000',
  },
}
SCSS
$custom: #241b71;
$custom-light: #6a599b;
$custom-dark: #000000;
JSON
{
  "hex": "#241b71",
  "rgb": {
    "r": 36,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 246.279,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30035,
    "c": 0.13992,
    "h": 278.5
  },
  "luminance": 0.02351
}

Semantic roles & 50–950 ramp

primary
#241B71
secondary
#9BA642
accent
#E543D4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #241B71

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

Preview Lab → · Contrast checker → · Palette generator →

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