#242268#242268

#242268 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.3% C 0.119 H 277.9°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#242268
RGBrgb(36, 34, 104)
HSLhsl(242, 51%, 27%)
HSVhsv(242, 67%, 41%)
CMYKcmyk(65.4%, 67.3%, 0%, 59.2%)
CIE-LABlab(18.00, 24.38, -40.81)
CIE-LCHlch(18.00, 47.54, 300.85°)
OKLaboklab(30.32% 0.0163 -0.1175)
OKLCHoklch(30.32% 0.119 277.9)
XYZxyz(3.7975, 2.5183, 13.3800)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242268 #666822
analogous
#224368 #242268 #472268
triadic
#242268 #682422 #226824
tetradic
#242268 #682243 #666822 #226847
square
#242268 #682243 #666822 #226847
split-complementary
#242268 #684722 #436822
monochromatic
#080817 #14133A #242268 #343196 #4743C2

Accessibility & contrast

On white

13.96
#242268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#242268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242268
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242268#FFFFFF#000000##FFFFFF
##2422681.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#002967
Tritanopia (blue-blind)
#003441
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #242268;
/* rgb */ color: rgb(36, 34, 104);
/* oklch */ color: oklch(30.3% 0.119 277.9);
Tailwind
colors: {
  custom: {
    50: '#685d94',
    500: '#242268',
    950: '#000000',
  },
}
SCSS
$custom: #242268;
$custom-light: #685d94;
$custom-dark: #000000;
JSON
{
  "hex": "#242268",
  "rgb": {
    "r": 36,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 241.714,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30318,
    "c": 0.11865,
    "h": 277.9
  },
  "luminance": 0.02519
}

Semantic roles & 50–950 ramp

primary
#242268
secondary
#999C4A
accent
#DA4ED6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #242268

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

Preview Lab → · Contrast checker → · Palette generator →

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