#242CBD#242CBD

#242CBD is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.9% C 0.218 H 269.5°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#242CBD
RGBrgb(36, 44, 189)
HSLhsl(237, 68%, 44%)
HSVhsv(237, 81%, 74%)
CMYKcmyk(81%, 76.7%, 0%, 25.9%)
CIE-LABlab(29.03, 48.16, -75.31)
CIE-LCHlch(29.03, 89.39, 302.60°)
OKLaboklab(40.86% -0.0018 -0.2182)
OKLCHoklch(40.86% 0.218 269.5)
XYZxyz(10.8104, 5.8493, 48.6935)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242CBD #BDB524
analogous
#2479BD #242CBD #6924BD
triadic
#242CBD #BD242C #2CBD24
tetradic
#242CBD #BD2479 #BDB524 #24BD69
square
#242CBD #BD2479 #BDB524 #24BD69
split-complementary
#242CBD #BD6924 #79BD24
monochromatic
#101456 #1A208A #242CBD #434BDB #767CE5

Accessibility & contrast

On white

9.68
#242CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#242CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242CBD
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242CBD#FFFFFF#000000##FFFFFF
##242CBD1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC1
Deuteranopia (green-blind)
#003DBA
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #242cbd;
/* rgb */ color: rgb(36, 44, 189);
/* oklch */ color: oklch(40.9% 0.218 269.5);
Tailwind
colors: {
  custom: {
    50: '#7c67d2',
    500: '#242cbd',
    950: '#000000',
  },
}
SCSS
$custom: #242cbd;
$custom-light: #7c67d2;
$custom-dark: #000000;
JSON
{
  "hex": "#242cbd",
  "rgb": {
    "r": 36,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 236.863,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40859,
    "c": 0.21817,
    "h": 269.5
  },
  "luminance": 0.05851
}

Semantic roles & 50–950 ramp

primary
#242CBD
secondary
#CCC870
accent
#E23DEB
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #242CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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