#241970#241970

#241970 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.141 H 279.1°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#241970
RGBrgb(36, 25, 112)
HSLhsl(248, 64%, 27%)
HSVhsv(248, 78%, 44%)
CMYKcmyk(67.9%, 77.7%, 0%, 56.1%)
CIE-LABlab(16.70, 32.96, -48.16)
CIE-LCHlch(16.70, 58.36, 304.39°)
OKLaboklab(29.63% 0.0223 -0.139)
OKLCHoklch(29.63% 0.141 279.1)
XYZxyz(3.9989, 2.2399, 15.5477)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241970 #657019
analogous
#193A70 #241970 #501970
triadic
#241970 #702419 #197024
tetradic
#241970 #70193A #657019 #197050
square
#241970 #70193A #657019 #197050
split-complementary
#241970 #705019 #3A7019
monochromatic
#080619 #140E3E #241970 #3424A2 #4632D1

Accessibility & contrast

On white

14.50
#241970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#241970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241970
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241970#FFFFFF#000000##FFFFFF
##2419701.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D73
Deuteranopia (green-blind)
#00266E
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #241970;
/* rgb */ color: rgb(36, 25, 112);
/* oklch */ color: oklch(29.6% 0.141 279.1);
Tailwind
colors: {
  custom: {
    50: '#6a579a',
    500: '#241970',
    950: '#000000',
  },
}
SCSS
$custom: #241970;
$custom-light: #6a579a;
$custom-dark: #000000;
JSON
{
  "hex": "#241970",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 247.586,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29626,
    "c": 0.14081,
    "h": 279.1
  },
  "luminance": 0.0224
}

Semantic roles & 50–950 ramp

primary
#241970
secondary
#98A540
accent
#E741D2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #241970

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

Preview Lab → · Contrast checker → · Palette generator →

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