#242377#242377

#242377 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.139 H 275.7°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#242377
RGBrgb(36, 35, 119)
HSLhsl(241, 55%, 30%)
HSVhsv(241, 71%, 47%)
CMYKcmyk(69.7%, 70.6%, 0%, 53.3%)
CIE-LABlab(19.67, 29.20, -47.78)
CIE-LCHlch(19.67, 55.99, 301.43°)
OKLaboklab(31.97% 0.0138 -0.1379)
OKLCHoklch(31.97% 0.139 275.7)
XYZxyz(4.6573, 2.9086, 17.7652)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242377 #767723
analogous
#234C77 #242377 #4E2377
triadic
#242377 #772423 #237724
tetradic
#242377 #77234C #767723 #23774E
square
#242377 #77234C #767723 #23774E
split-complementary
#242377 #774E23 #4C7723
monochromatic
#070718 #161548 #242377 #3231A6 #4C4ACA

Accessibility & contrast

On white

13.28
#242377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#242377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242377
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242377#FFFFFF#000000##FFFFFF
##2423771.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#002C75
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #242377;
/* rgb */ color: rgb(36, 35, 119);
/* oklch */ color: oklch(32.0% 0.139 275.7);
Tailwind
colors: {
  custom: {
    50: '#6b5e9f',
    500: '#242377',
    950: '#000000',
  },
}
SCSS
$custom: #242377;
$custom-light: #6b5e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#242377",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 119
  },
  "hsl": {
    "h": 240.714,
    "s": 54.545,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31972,
    "c": 0.13863,
    "h": 275.7
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#242377
secondary
#A9AA4C
accent
#DE4ADC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #242377

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

Preview Lab → · Contrast checker → · Palette generator →

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