#242374#242374

#242374 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.134 H 276.0°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#242374
RGBrgb(36, 35, 116)
HSLhsl(241, 54%, 30%)
HSVhsv(241, 70%, 45%)
CMYKcmyk(69%, 69.8%, 0%, 54.5%)
CIE-LABlab(19.38, 28.10, -46.33)
CIE-LCHlch(19.38, 54.19, 301.24°)
OKLaboklab(31.67% 0.0141 -0.1337)
OKLCHoklch(31.67% 0.134 276)
XYZxyz(4.4799, 2.8377, 16.8313)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242374 #737423
analogous
#234B74 #242374 #4D2374
triadic
#242374 #742423 #237424
tetradic
#242374 #74234B #737423 #23744D
square
#242374 #74234B #737423 #23744D
split-complementary
#242374 #744D23 #4B7423
monochromatic
#070718 #151545 #242374 #3331A3 #4B49C8

Accessibility & contrast

On white

13.40
#242374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#242374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242374
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242374#FFFFFF#000000##FFFFFF
##2423741.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#002B72
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #242374;
/* rgb */ color: rgb(36, 35, 116);
/* oklch */ color: oklch(31.7% 0.134 276.0);
Tailwind
colors: {
  custom: {
    50: '#6a5e9d',
    500: '#242374',
    950: '#000000',
  },
}
SCSS
$custom: #242374;
$custom-light: #6a5e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#242374",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 116
  },
  "hsl": {
    "h": 240.741,
    "s": 53.642,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31671,
    "c": 0.13447,
    "h": 276
  },
  "luminance": 0.02838
}

Semantic roles & 50–950 ramp

primary
#242374
secondary
#A6A74C
accent
#DD4BDB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #242374

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

Preview Lab → · Contrast checker → · Palette generator →

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