#242ABD#242ABD

#242ABD is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.6% C 0.220 H 269.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#242ABD
RGBrgb(36, 42, 189)
HSLhsl(238, 68%, 44%)
HSVhsv(238, 81%, 74%)
CMYKcmyk(81%, 77.8%, 0%, 25.9%)
CIE-LABlab(28.65, 49.24, -75.93)
CIE-LCHlch(28.65, 90.50, 302.96°)
OKLaboklab(40.59% -0.0013 -0.2199)
OKLCHoklch(40.59% 0.22 269.7)
XYZxyz(10.7377, 5.7039, 48.6693)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242ABD #BDB724
analogous
#2477BD #242ABD #6B24BD
triadic
#242ABD #BD242A #2ABD24
tetradic
#242ABD #BD2477 #BDB724 #24BD6B
square
#242ABD #BD2477 #BDB724 #24BD6B
split-complementary
#242ABD #BD6B24 #77BD24
monochromatic
#101356 #1A1F8A #242ABD #4349DB #767BE5

Accessibility & contrast

On white

9.81
#242ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#242ABD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242ABD
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242ABD#FFFFFF#000000##FFFFFF
##242ABD1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC1
Deuteranopia (green-blind)
#003CBA
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #242abd;
/* rgb */ color: rgb(36, 42, 189);
/* oklch */ color: oklch(40.6% 0.220 269.7);
Tailwind
colors: {
  custom: {
    50: '#7c66d2',
    500: '#242abd',
    950: '#000000',
  },
}
SCSS
$custom: #242abd;
$custom-light: #7c66d2;
$custom-dark: #000000;
JSON
{
  "hex": "#242abd",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 237.647,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40594,
    "c": 0.21994,
    "h": 269.7
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#242ABD
secondary
#CCC970
accent
#E43DEB
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #242ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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