#242679#242679

#242679 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.138 H 274.7°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#242679
RGBrgb(36, 38, 121)
HSLhsl(239, 54%, 31%)
HSVhsv(239, 70%, 47%)
CMYKcmyk(70.2%, 68.6%, 0%, 52.5%)
CIE-LABlab(20.60, 27.95, -47.54)
CIE-LCHlch(20.60, 55.15, 300.46°)
OKLaboklab(32.7% 0.0112 -0.1372)
OKLCHoklch(32.7% 0.138 274.7)
XYZxyz(4.8707, 3.1413, 18.4351)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242679 #797724
analogous
#245079 #242679 #4C2479
triadic
#242679 #792426 #267924
tetradic
#242679 #792450 #797724 #24794C
square
#242679 #792450 #797724 #24794C
split-complementary
#242679 #794C24 #507924
monochromatic
#08081B #16174A #242679 #3235A8 #4D50CA

Accessibility & contrast

On white

12.90
#242679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#242679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242679
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242679#FFFFFF#000000##FFFFFF
##2426791.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #242679;
/* rgb */ color: rgb(36, 38, 121);
/* oklch */ color: oklch(32.7% 0.138 274.7);
Tailwind
colors: {
  custom: {
    50: '#6b60a1',
    500: '#242679',
    950: '#000000',
  },
}
SCSS
$custom: #242679;
$custom-light: #6b60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#242679",
  "rgb": {
    "r": 36,
    "g": 38,
    "b": 121
  },
  "hsl": {
    "h": 238.588,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32704,
    "c": 0.1377,
    "h": 274.7
  },
  "luminance": 0.03142
}

Semantic roles & 50–950 ramp

primary
#242679
secondary
#ACA94D
accent
#DA4ADE
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #242679

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

Preview Lab → · Contrast checker → · Palette generator →

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