#241F77#241F77

#241F77 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.143 H 276.7°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#241F77
RGBrgb(36, 31, 119)
HSLhsl(243, 59%, 29%)
HSVhsv(243, 74%, 47%)
CMYKcmyk(69.7%, 73.9%, 0%, 53.3%)
CIE-LABlab(18.74, 31.75, -49.31)
CIE-LCHlch(18.74, 58.65, 302.77°)
OKLaboklab(31.3% 0.0167 -0.1424)
OKLCHoklch(31.3% 0.143 276.7)
XYZxyz(4.5462, 2.6866, 17.7282)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F77 #72771F
analogous
#1F4677 #241F77 #501F77
triadic
#241F77 #77241F #1F7724
tetradic
#241F77 #771F46 #72771F #1F7750
square
#241F77 #771F46 #72771F #1F7750
split-complementary
#241F77 #77501F #46771F
monochromatic
#070618 #151246 #241F77 #332CA8 #4A43CE

Accessibility & contrast

On white

13.66
#241F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#241F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F77
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F77#FFFFFF#000000##FFFFFF
##241F771.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317A
Deuteranopia (green-blind)
#002A75
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #241f77;
/* rgb */ color: rgb(36, 31, 119);
/* oklch */ color: oklch(31.3% 0.143 276.7);
Tailwind
colors: {
  custom: {
    50: '#6b5c9f',
    500: '#241f77',
    950: '#000000',
  },
}
SCSS
$custom: #241f77;
$custom-light: #6b5c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#241f77",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 243.409,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31302,
    "c": 0.1434,
    "h": 276.7
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

primary
#241F77
secondary
#A5AB47
accent
#E246D9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040F
muted
#7A797E

Preview Lab

Preview with #241F77

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

Preview Lab → · Contrast checker → · Palette generator →

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