#241F58#241F58

#241F58 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.3% C 0.099 H 282.0°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#241F58
RGBrgb(36, 31, 88)
HSLhsl(245, 48%, 23%)
HSVhsv(245, 65%, 35%)
CMYKcmyk(59.1%, 64.8%, 0%, 65.5%)
CIE-LABlab(15.80, 20.58, -33.80)
CIE-LCHlch(15.80, 39.57, 301.34°)
OKLaboklab(28.26% 0.0205 -0.0969)
OKLCHoklch(28.26% 0.099 282)
XYZxyz(2.9784, 2.0594, 9.4712)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F58 #53581F
analogous
#1F3658 #241F58 #401F58
triadic
#241F58 #58241F #1F5824
tetradic
#241F58 #581F36 #53581F #1F5840
square
#241F58 #581F36 #53581F #1F5840
split-complementary
#241F58 #58401F #36581F
monochromatic
#090817 #110F2B #241F58 #372F85 #493FB3

Accessibility & contrast

On white

14.87
#241F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#241F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F58
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F58#FFFFFF#000000##FFFFFF
##241F581.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295A
Deuteranopia (green-blind)
#002557
Tritanopia (blue-blind)
#0C2D38
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #241f58;
/* rgb */ color: rgb(36, 31, 88);
/* oklch */ color: oklch(28.3% 0.099 282.0);
Tailwind
colors: {
  custom: {
    50: '#645b88',
    500: '#241f58',
    950: '#000000',
  },
}
SCSS
$custom: #241f58;
$custom-light: #645b88;
$custom-dark: #000000;
JSON
{
  "hex": "#241f58",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 245.263,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.2826,
    "c": 0.09908,
    "h": 282
  },
  "luminance": 0.0206
}

Semantic roles & 50–950 ramp

primary
#241F58
secondary
#878D46
accent
#D750CC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040B
muted
#7A797C

Preview Lab

Preview with #241F58

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

Preview Lab → · Contrast checker → · Palette generator →

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