#241B70#241B70

#241B70 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.139 H 278.7°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#241B70
RGBrgb(36, 27, 112)
HSLhsl(246, 61%, 27%)
HSVhsv(246, 76%, 44%)
CMYKcmyk(67.9%, 75.9%, 0%, 56.1%)
CIE-LABlab(17.12, 31.76, -47.46)
CIE-LCHlch(17.12, 57.11, 303.79°)
OKLaboklab(29.93% 0.0209 -0.137)
OKLCHoklch(29.93% 0.139 278.7)
XYZxyz(4.0432, 2.3285, 15.5625)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241B70 #67701B
analogous
#1B3D70 #241B70 #4F1B70
triadic
#241B70 #70241B #1B7024
tetradic
#241B70 #701B3D #67701B #1B704F
square
#241B70 #701B3D #67701B #1B704F
split-complementary
#241B70 #704F1B #3D701B
monochromatic
#080619 #140F3F #241B70 #3427A1 #4737CF

Accessibility & contrast

On white

14.33
#241B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241B70
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241B70#FFFFFF#000000##FFFFFF
##241B701.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D73
Deuteranopia (green-blind)
#00276E
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #241b70;
/* rgb */ color: rgb(36, 27, 112);
/* oklch */ color: oklch(29.9% 0.139 278.7);
Tailwind
colors: {
  custom: {
    50: '#6a599a',
    500: '#241b70',
    950: '#000000',
  },
}
SCSS
$custom: #241b70;
$custom-light: #6a599a;
$custom-dark: #000000;
JSON
{
  "hex": "#241b70",
  "rgb": {
    "r": 36,
    "g": 27,
    "b": 112
  },
  "hsl": {
    "h": 246.353,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29928,
    "c": 0.13859,
    "h": 278.7
  },
  "luminance": 0.02329
}

Semantic roles & 50–950 ramp

primary
#241B70
secondary
#9AA542
accent
#E444D3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #241B70

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

Preview Lab → · Contrast checker → · Palette generator →

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