#242A44#242A44

#242A44 is a dark, muted blue. Relative luminance 0.024; OKLCH L 29.2% C 0.048 H 273.2°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#242A44
RGBrgb(36, 42, 68)
HSLhsl(229, 31%, 20%)
HSVhsv(229, 47%, 27%)
CMYKcmyk(47.1%, 38.2%, 0%, 73.3%)
CIE-LABlab(17.68, 5.44, -17.19)
CIE-LCHlch(17.68, 18.03, 287.57°)
OKLaboklab(29.23% 0.0027 -0.0482)
OKLCHoklch(29.23% 0.048 273.2)
XYZxyz(2.5986, 2.4482, 5.8034)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242A44 #443E24
analogous
#243A44 #242A44 #2E2444
triadic
#242A44 #44242A #2A4424
tetradic
#242A44 #44243A #443E24 #24442E
square
#242A44 #44243A #443E24 #24442E
split-complementary
#242A44 #442E24 #3A4424
monochromatic
#0B0C14 #0F111C #242A44 #39436C #4E5B94

Accessibility & contrast

On white

14.10
#242A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#242A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242A44
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242A44#FFFFFF#000000##FFFFFF
##242A441.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212D45
Deuteranopia (green-blind)
#1E2A43
Tritanopia (blue-blind)
#1A2F33
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #242a44;
/* rgb */ color: rgb(36, 42, 68);
/* oklch */ color: oklch(29.2% 0.048 273.2);
Tailwind
colors: {
  custom: {
    50: '#606378',
    500: '#242a44',
    950: '#000000',
  },
}
SCSS
$custom: #242a44;
$custom-light: #606378;
$custom-dark: #000000;
JSON
{
  "hex": "#242a44",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 68
  },
  "hsl": {
    "h": 228.75,
    "s": 30.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29234,
    "c": 0.04828,
    "h": 273.2
  },
  "luminance": 0.02448
}

Semantic roles & 50–950 ramp

primary
#242A44
secondary
#776F4D
accent
#B461C7
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#050509
muted
#79797B

Preview Lab

Preview with #242A44

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

Preview Lab → · Contrast checker → · Palette generator →

#242A44 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva