#241B8F#241B8F

#241B8F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.4% C 0.178 H 274.3°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#241B8F
RGBrgb(36, 27, 143)
HSLhsl(245, 68%, 33%)
HSVhsv(245, 81%, 56%)
CMYKcmyk(74.8%, 81.1%, 0%, 43.9%)
CIE-LABlab(20.60, 42.15, -61.40)
CIE-LCHlch(20.60, 74.48, 304.47°)
OKLaboklab(33.41% 0.0134 -0.1776)
OKLCHoklch(33.41% 0.178 274.3)
XYZxyz(6.0758, 3.1415, 26.2674)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241B8F #868F1B
analogous
#1B4C8F #241B8F #5E1B8F
triadic
#241B8F #8F241B #1B8F24
tetradic
#241B8F #8F1B4C #868F1B #1B8F5E
square
#241B8F #8F1B4C #868F1B #1B8F5E
split-complementary
#241B8F #8F5E1B #4C8F1B
monochromatic
#0A0828 #17115C #241B8F #3125C2 #5348DC

Accessibility & contrast

On white

12.90
#241B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#241B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241B8F
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241B8F#FFFFFF#000000##FFFFFF
##241B8F1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002C8D
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #241b8f;
/* rgb */ color: rgb(36, 27, 143);
/* oklch */ color: oklch(33.4% 0.178 274.3);
Tailwind
colors: {
  custom: {
    50: '#725bb1',
    500: '#241b8f',
    950: '#000000',
  },
}
SCSS
$custom: #241b8f;
$custom-light: #725bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#241b8f",
  "rgb": {
    "r": 36,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 244.655,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33405,
    "c": 0.17808,
    "h": 274.3
  },
  "luminance": 0.03142
}

Semantic roles & 50–950 ramp

primary
#241B8F
secondary
#B5BE48
accent
#EB3DDE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #241B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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