#241870#241870

#241870 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.142 H 279.3°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#241870
RGBrgb(36, 24, 112)
HSLhsl(248, 65%, 27%)
HSVhsv(248, 79%, 44%)
CMYKcmyk(67.9%, 78.6%, 0%, 56.1%)
CIE-LABlab(16.49, 33.54, -48.50)
CIE-LCHlch(16.49, 58.97, 304.67°)
OKLaboklab(29.48% 0.023 -0.14)
OKLCHoklch(29.48% 0.142 279.3)
XYZxyz(3.9779, 2.1979, 15.5407)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241870 #647018
analogous
#183870 #241870 #501870
triadic
#241870 #702418 #187024
tetradic
#241870 #701838 #647018 #187050
square
#241870 #701838 #647018 #187050
split-complementary
#241870 #705018 #387018
monochromatic
#080519 #140D3E #241870 #3423A2 #4630D3

Accessibility & contrast

On white

14.59
#241870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#241870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241870
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241870#FFFFFF#000000##FFFFFF
##2418701.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#00256E
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #241870;
/* rgb */ color: rgb(36, 24, 112);
/* oklch */ color: oklch(29.5% 0.142 279.3);
Tailwind
colors: {
  custom: {
    50: '#6a579a',
    500: '#241870',
    950: '#000000',
  },
}
SCSS
$custom: #241870;
$custom-light: #6a579a;
$custom-dark: #000000;
JSON
{
  "hex": "#241870",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 248.182,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29481,
    "c": 0.14189,
    "h": 279.3
  },
  "luminance": 0.02198
}

Semantic roles & 50–950 ramp

primary
#241870
secondary
#97A53E
accent
#E840D1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #241870

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

Preview Lab → · Contrast checker → · Palette generator →

#241870 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva