#242E84#242E84

#242E84 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.143 H 271.7°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#242E84
RGBrgb(36, 46, 132)
HSLhsl(234, 57%, 33%)
HSVhsv(234, 73%, 52%)
CMYKcmyk(72.7%, 65.2%, 0%, 48.2%)
CIE-LABlab(23.65, 26.70, -49.50)
CIE-LCHlch(23.65, 56.24, 298.34°)
OKLaboklab(35.25% 0.0042 -0.1429)
OKLCHoklch(35.25% 0.143 271.7)
XYZxyz(5.8680, 3.9944, 22.2871)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E84 #847A24
analogous
#245E84 #242E84 #4A2484
triadic
#242E84 #84242E #2E8424
tetradic
#242E84 #84245E #847A24 #24844A
square
#242E84 #84245E #847A24 #24844A
split-complementary
#242E84 #844A24 #5E8424
monochromatic
#0A0C24 #171D54 #242E84 #313FB4 #5260D0

Accessibility & contrast

On white

11.67
#242E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#242E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E84
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E84#FFFFFF#000000##FFFFFF
##242E841.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003482
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #242e84;
/* rgb */ color: rgb(36, 46, 132);
/* oklch */ color: oklch(35.3% 0.143 271.7);
Tailwind
colors: {
  custom: {
    50: '#6d66a9',
    500: '#242e84',
    950: '#000000',
  },
}
SCSS
$custom: #242e84;
$custom-light: #6d66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#242e84",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 233.75,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3525,
    "c": 0.143,
    "h": 271.7
  },
  "luminance": 0.03995
}

Semantic roles & 50–950 ramp

primary
#242E84
secondary
#B4AA50
accent
#D047E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #242E84

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

Preview Lab → · Contrast checker → · Palette generator →

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