#242BBD#242BBD

#242BBD is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.7% C 0.219 H 269.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#242BBD
RGBrgb(36, 43, 189)
HSLhsl(237, 68%, 44%)
HSVhsv(237, 81%, 74%)
CMYKcmyk(81%, 77.2%, 0%, 25.9%)
CIE-LABlab(28.84, 48.71, -75.62)
CIE-LCHlch(28.84, 89.95, 302.78°)
OKLaboklab(40.73% -0.0016 -0.2191)
OKLCHoklch(40.73% 0.219 269.6)
XYZxyz(10.7736, 5.7757, 48.6812)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242BBD #BDB624
analogous
#2478BD #242BBD #6A24BD
triadic
#242BBD #BD242B #2BBD24
tetradic
#242BBD #BD2478 #BDB624 #24BD6A
square
#242BBD #BD2478 #BDB624 #24BD6A
split-complementary
#242BBD #BD6A24 #78BD24
monochromatic
#101456 #1A1F8A #242BBD #434ADB #767BE5

Accessibility & contrast

On white

9.74
#242BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#242BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242BBD
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242BBD#FFFFFF#000000##FFFFFF
##242BBD1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242bbd;
/* rgb */ color: rgb(36, 43, 189);
/* oklch */ color: oklch(40.7% 0.219 269.6);
Tailwind
colors: {
  custom: {
    50: '#7c67d2',
    500: '#242bbd',
    950: '#000000',
  },
}
SCSS
$custom: #242bbd;
$custom-light: #7c67d2;
$custom-dark: #000000;
JSON
{
  "hex": "#242bbd",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 237.255,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40725,
    "c": 0.21907,
    "h": 269.6
  },
  "luminance": 0.05777
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #242BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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