#242563#242563

#242563 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.4% C 0.107 H 277.3°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#242563
RGBrgb(36, 37, 99)
HSLhsl(239, 47%, 26%)
HSVhsv(239, 64%, 39%)
CMYKcmyk(63.6%, 62.6%, 0%, 61.2%)
CIE-LABlab(18.36, 20.44, -36.95)
CIE-LCHlch(18.36, 42.22, 298.95°)
OKLaboklab(30.44% 0.0135 -0.1061)
OKLCHoklch(30.44% 0.107 277.3)
XYZxyz(3.6405, 2.5988, 12.1117)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242563 #636224
analogous
#244563 #242563 #432463
triadic
#242563 #632425 #256324
tetradic
#242563 #632445 #636224 #246343
square
#242563 #632445 #636224 #246343
split-complementary
#242563 #634324 #456324
monochromatic
#080816 #141436 #242563 #343690 #4648BC

Accessibility & contrast

On white

13.82
#242563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#242563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242563
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242563#FFFFFF#000000##FFFFFF
##2425631.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F65
Deuteranopia (green-blind)
#002A62
Tritanopia (blue-blind)
#003440
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #242563;
/* rgb */ color: rgb(36, 37, 99);
/* oklch */ color: oklch(30.4% 0.107 277.3);
Tailwind
colors: {
  custom: {
    50: '#665f90',
    500: '#242563',
    950: '#000000',
  },
}
SCSS
$custom: #242563;
$custom-light: #665f90;
$custom-dark: #000000;
JSON
{
  "hex": "#242563",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 99
  },
  "hsl": {
    "h": 239.048,
    "s": 46.667,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30444,
    "c": 0.10701,
    "h": 277.3
  },
  "luminance": 0.02599
}

Semantic roles & 50–950 ramp

primary
#242563
secondary
#96954C
accent
#D451D6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #242563

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

Preview Lab → · Contrast checker → · Palette generator →

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