#241672#241672

#241672 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.147 H 279.3°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#241672
RGBrgb(36, 22, 114)
HSLhsl(249, 68%, 27%)
HSVhsv(249, 81%, 45%)
CMYKcmyk(68.4%, 80.7%, 0%, 55.3%)
CIE-LABlab(16.32, 35.33, -50.07)
CIE-LCHlch(16.32, 61.28, 305.20°)
OKLaboklab(29.43% 0.0238 -0.1446)
OKLCHoklch(29.43% 0.147 279.3)
XYZxyz(4.0508, 2.1635, 16.1204)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241672 #647216
analogous
#163672 #241672 #521672
triadic
#241672 #722416 #167224
tetradic
#241672 #721636 #647216 #167252
square
#241672 #721636 #647216 #167252
split-complementary
#241672 #725216 #367216
monochromatic
#08051A #140C3F #241672 #3420A5 #462CD6

Accessibility & contrast

On white

14.66
#241672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#241672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241672
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241672#FFFFFF#000000##FFFFFF
##2416721.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C75
Deuteranopia (green-blind)
#002570
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #241672;
/* rgb */ color: rgb(36, 22, 114);
/* oklch */ color: oklch(29.4% 0.147 279.3);
Tailwind
colors: {
  custom: {
    50: '#6b569c',
    500: '#241672',
    950: '#000000',
  },
}
SCSS
$custom: #241672;
$custom-light: #6b569c;
$custom-dark: #000000;
JSON
{
  "hex": "#241672",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 249.13,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29428,
    "c": 0.14653,
    "h": 279.3
  },
  "luminance": 0.02164
}

Semantic roles & 50–950 ramp

primary
#241672
secondary
#97A83C
accent
#EB3DD0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #241672

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

Preview Lab → · Contrast checker → · Palette generator →

#241672 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva