#242AB0#242AB0

#242AB0 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.1% C 0.204 H 270.3°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#242AB0
RGBrgb(36, 42, 176)
HSLhsl(237, 66%, 42%)
HSVhsv(237, 80%, 69%)
CMYKcmyk(79.5%, 76.1%, 0%, 31%)
CIE-LABlab(27.20, 44.94, -70.61)
CIE-LCHlch(27.20, 83.69, 302.47°)
OKLaboklab(39.14% 0.001 -0.2045)
OKLCHoklch(39.14% 0.205 270.3)
XYZxyz(9.3893, 5.1645, 41.5679)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242AB0 #B0AA24
analogous
#2470B0 #242AB0 #6424B0
triadic
#242AB0 #B0242A #2AB024
tetradic
#242AB0 #B02470 #B0AA24 #24B064
square
#242AB0 #B02470 #B0AA24 #24B064
split-complementary
#242AB0 #B06424 #70B024
monochromatic
#0F124A #1A1E7D #242AB0 #3A41D7 #6D72E1

Accessibility & contrast

On white

10.33
#242AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#242AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242AB0
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242AB0#FFFFFF#000000##FFFFFF
##242AB01.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B4
Deuteranopia (green-blind)
#0039AE
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #242ab0;
/* rgb */ color: rgb(36, 42, 176);
/* oklch */ color: oklch(39.1% 0.204 270.3);
Tailwind
colors: {
  custom: {
    50: '#7965c9',
    500: '#242ab0',
    950: '#000000',
  },
}
SCSS
$custom: #242ab0;
$custom-light: #7965c9;
$custom-dark: #000000;
JSON
{
  "hex": "#242ab0",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 237.429,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39142,
    "c": 0.2045,
    "h": 270.3
  },
  "luminance": 0.05166
}

Semantic roles & 50–950 ramp

primary
#242AB0
secondary
#C8C368
accent
#E23FE9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #242AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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