#241F7B#241F7B

#241F7B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.149 H 276.1°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#241F7B
RGBrgb(36, 31, 123)
HSLhsl(243, 60%, 30%)
HSVhsv(243, 75%, 48%)
CMYKcmyk(70.7%, 74.8%, 0%, 51.8%)
CIE-LABlab(19.16, 33.15, -51.18)
CIE-LCHlch(19.16, 60.98, 302.93°)
OKLaboklab(31.73% 0.0159 -0.1479)
OKLCHoklch(31.73% 0.149 276.1)
XYZxyz(4.7915, 2.7847, 19.0200)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F7B #767B1F
analogous
#1F487B #241F7B #521F7B
triadic
#241F7B #7B241F #1F7B24
tetradic
#241F7B #7B1F48 #767B1F #1F7B52
square
#241F7B #7B1F48 #767B1F #1F7B52
split-complementary
#241F7B #7B521F #487B1F
monochromatic
#070619 #16134A #241F7B #322BAC #4C44D0

Accessibility & contrast

On white

13.49
#241F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#241F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F7B
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F7B#FFFFFF#000000##FFFFFF
##241F7B1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002A79
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #241f7b;
/* rgb */ color: rgb(36, 31, 123);
/* oklch */ color: oklch(31.7% 0.149 276.1);
Tailwind
colors: {
  custom: {
    50: '#6c5ca2',
    500: '#241f7b',
    950: '#000000',
  },
}
SCSS
$custom: #241f7b;
$custom-light: #6c5ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#241f7b",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 243.261,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31727,
    "c": 0.14874,
    "h": 276.1
  },
  "luminance": 0.02785
}

Semantic roles & 50–950 ramp

primary
#241F7B
secondary
#A9AE48
accent
#E345DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #241F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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