#241F7A#241F7A

#241F7A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.147 H 276.3°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#241F7A
RGBrgb(36, 31, 122)
HSLhsl(243, 59%, 30%)
HSVhsv(243, 75%, 48%)
CMYKcmyk(70.5%, 74.6%, 0%, 52.2%)
CIE-LABlab(19.05, 32.80, -50.72)
CIE-LCHlch(19.05, 60.40, 302.89°)
OKLaboklab(31.62% 0.0161 -0.1465)
OKLCHoklch(31.62% 0.147 276.3)
XYZxyz(4.7292, 2.7598, 18.6920)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F7A #757A1F
analogous
#1F477A #241F7A #521F7A
triadic
#241F7A #7A241F #1F7A24
tetradic
#241F7A #7A1F47 #757A1F #1F7A52
square
#241F7A #7A1F47 #757A1F #1F7A52
split-complementary
#241F7A #7A521F #477A1F
monochromatic
#070618 #161349 #241F7A #322BAB #4C44CF

Accessibility & contrast

On white

13.53
#241F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#241F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F7A
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F7A#FFFFFF#000000##FFFFFF
##241F7A1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002A78
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #241f7a;
/* rgb */ color: rgb(36, 31, 122);
/* oklch */ color: oklch(31.6% 0.147 276.3);
Tailwind
colors: {
  custom: {
    50: '#6c5ca1',
    500: '#241f7a',
    950: '#000000',
  },
}
SCSS
$custom: #241f7a;
$custom-light: #6c5ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#241f7a",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 243.297,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.3162,
    "c": 0.14741,
    "h": 276.3
  },
  "luminance": 0.0276
}

Semantic roles & 50–950 ramp

primary
#241F7A
secondary
#A8AD47
accent
#E345DA
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #241F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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