#241B8E#241B8E

#241B8E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.177 H 274.4°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#241B8E
RGBrgb(36, 27, 142)
HSLhsl(245, 68%, 33%)
HSVhsv(245, 81%, 56%)
CMYKcmyk(74.6%, 81%, 0%, 44.3%)
CIE-LABlab(20.48, 41.83, -60.97)
CIE-LCHlch(20.48, 73.94, 304.45°)
OKLaboklab(33.29% 0.0137 -0.1763)
OKLCHoklch(33.29% 0.177 274.4)
XYZxyz(6.0004, 3.1113, 25.8703)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241B8E #858E1B
analogous
#1B4B8E #241B8E #5D1B8E
triadic
#241B8E #8E241B #1B8E24
tetradic
#241B8E #8E1B4B #858E1B #1B8E5D
square
#241B8E #8E1B4B #858E1B #1B8E5D
split-complementary
#241B8E #8E5D1B #4B8E1B
monochromatic
#0A0727 #17115B #241B8E #3125C1 #5347DC

Accessibility & contrast

On white

12.94
#241B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#241B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241B8E
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241B8E#FFFFFF#000000##FFFFFF
##241B8E1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003691
Deuteranopia (green-blind)
#002C8C
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #241b8e;
/* rgb */ color: rgb(36, 27, 142);
/* oklch */ color: oklch(33.3% 0.177 274.4);
Tailwind
colors: {
  custom: {
    50: '#715ab0',
    500: '#241b8e',
    950: '#000000',
  },
}
SCSS
$custom: #241b8e;
$custom-light: #715ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#241b8e",
  "rgb": {
    "r": 36,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 244.696,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33289,
    "c": 0.17687,
    "h": 274.4
  },
  "luminance": 0.03112
}

Semantic roles & 50–950 ramp

primary
#241B8E
secondary
#B4BE47
accent
#EB3DDD
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #241B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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