#241F52#241F52

#241F52 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.7% C 0.090 H 283.3°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#241F52
RGBrgb(36, 31, 82)
HSLhsl(246, 45%, 22%)
HSVhsv(246, 62%, 32%)
CMYKcmyk(56.1%, 62.2%, 0%, 67.8%)
CIE-LABlab(15.30, 18.41, -30.55)
CIE-LCHlch(15.30, 35.67, 301.07°)
OKLaboklab(27.73% 0.0206 -0.0874)
OKLCHoklch(27.73% 0.09 283.3)
XYZxyz(2.7401, 1.9641, 8.2157)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F52 #4D521F
analogous
#1F3452 #241F52 #3E1F52
triadic
#241F52 #52241F #1F5224
tetradic
#241F52 #521F34 #4D521F #1F523E
square
#241F52 #521F34 #4D521F #1F523E
split-complementary
#241F52 #523E1F #34521F
monochromatic
#0A0816 #110E26 #241F52 #37307E #4B41AB

Accessibility & contrast

On white

15.08
#241F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#241F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F52
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F52#FFFFFF#000000##FFFFFF
##241F521.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002854
Deuteranopia (green-blind)
#002551
Tritanopia (blue-blind)
#122B35
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #241f52;
/* rgb */ color: rgb(36, 31, 82);
/* oklch */ color: oklch(27.7% 0.090 283.3);
Tailwind
colors: {
  custom: {
    50: '#635a83',
    500: '#241f52',
    950: '#000000',
  },
}
SCSS
$custom: #241f52;
$custom-light: #635a83;
$custom-dark: #000000;
JSON
{
  "hex": "#241f52",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 245.882,
    "s": 45.133,
    "l": 22.157
  },
  "oklch": {
    "l": 0.27734,
    "c": 0.08979,
    "h": 283.3
  },
  "luminance": 0.01964
}

Semantic roles & 50–950 ramp

primary
#241F52
secondary
#808746
accent
#D553C8
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05040A
muted
#7A797C

Preview Lab

Preview with #241F52

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

Preview Lab → · Contrast checker → · Palette generator →

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