#241F70#241F70

#241F70 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.134 H 277.7°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#241F70
RGBrgb(36, 31, 112)
HSLhsl(244, 57%, 28%)
HSVhsv(244, 72%, 44%)
CMYKcmyk(67.9%, 72.3%, 0%, 56.1%)
CIE-LABlab(18.03, 29.26, -45.97)
CIE-LCHlch(18.03, 54.49, 302.48°)
OKLaboklab(30.58% 0.0179 -0.1327)
OKLCHoklch(30.58% 0.134 277.7)
XYZxyz(4.1412, 2.5246, 15.5951)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F70 #6B701F
analogous
#1F4270 #241F70 #4C1F70
triadic
#241F70 #70241F #1F7024
tetradic
#241F70 #701F42 #6B701F #1F704C
square
#241F70 #701F42 #6B701F #1F704C
split-complementary
#241F70 #704C1F #42701F
monochromatic
#080718 #151240 #241F70 #332CA0 #483FCA

Accessibility & contrast

On white

13.95
#241F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#241F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F70
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F70#FFFFFF#000000##FFFFFF
##241F701.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F72
Deuteranopia (green-blind)
#00296E
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #241f70;
/* rgb */ color: rgb(36, 31, 112);
/* oklch */ color: oklch(30.6% 0.134 277.7);
Tailwind
colors: {
  custom: {
    50: '#6a5b9a',
    500: '#241f70',
    950: '#000000',
  },
}
SCSS
$custom: #241f70;
$custom-light: #6a5b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#241f70",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 112
  },
  "hsl": {
    "h": 243.704,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30575,
    "c": 0.13386,
    "h": 277.7
  },
  "luminance": 0.02525
}

Semantic roles & 50–950 ramp

primary
#241F70
secondary
#9EA447
accent
#E048D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #241F70

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

Preview Lab → · Contrast checker → · Palette generator →

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