#241674#241674

#241674 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.149 H 278.9°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#241674
RGBrgb(36, 22, 116)
HSLhsl(249, 68%, 27%)
HSVhsv(249, 81%, 45%)
CMYKcmyk(69%, 81%, 0%, 54.5%)
CIE-LABlab(16.55, 35.98, -50.99)
CIE-LCHlch(16.55, 62.41, 305.21°)
OKLaboklab(29.65% 0.0232 -0.1473)
OKLCHoklch(29.65% 0.149 278.9)
XYZxyz(4.1658, 2.2095, 16.7266)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241674 #667416
analogous
#163774 #241674 #531674
triadic
#241674 #742416 #167424
tetradic
#241674 #741637 #667416 #167453
square
#241674 #741637 #667416 #167453
split-complementary
#241674 #745316 #377416
monochromatic
#08051A #140C41 #241674 #3420A7 #472DD7

Accessibility & contrast

On white

14.56
#241674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#241674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241674
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241674#FFFFFF#000000##FFFFFF
##2416741.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C77
Deuteranopia (green-blind)
#002572
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #241674;
/* rgb */ color: rgb(36, 22, 116);
/* oklch */ color: oklch(29.7% 0.149 278.9);
Tailwind
colors: {
  custom: {
    50: '#6c569d',
    500: '#241674',
    950: '#000000',
  },
}
SCSS
$custom: #241674;
$custom-light: #6c569d;
$custom-dark: #000000;
JSON
{
  "hex": "#241674",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 248.936,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29655,
    "c": 0.14907,
    "h": 278.9
  },
  "luminance": 0.0221
}

Semantic roles & 50–950 ramp

primary
#241674
secondary
#99AA3C
accent
#EB3DD1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #241674

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

Preview Lab → · Contrast checker → · Palette generator →

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