#242DB0#242DB0

#242DB0 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.6% C 0.202 H 270.0°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#242DB0
RGBrgb(36, 45, 176)
HSLhsl(236, 66%, 42%)
HSVhsv(236, 80%, 69%)
CMYKcmyk(79.5%, 74.4%, 0%, 31%)
CIE-LABlab(27.81, 43.22, -69.60)
CIE-LCHlch(27.81, 81.93, 301.84°)
OKLaboklab(39.57% -0.0001 -0.2016)
OKLCHoklch(39.57% 0.202 270)
XYZxyz(9.4997, 5.3853, 41.6047)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242DB0 #B0A724
analogous
#2473B0 #242DB0 #6124B0
triadic
#242DB0 #B0242D #2DB024
tetradic
#242DB0 #B02473 #B0A724 #24B061
square
#242DB0 #B02473 #B0A724 #24B061
split-complementary
#242DB0 #B06124 #73B024
monochromatic
#0F134A #1A207D #242DB0 #3A44D7 #6D75E1

Accessibility & contrast

On white

10.11
#242DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#242DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242DB0
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242DB0#FFFFFF#000000##FFFFFF
##242DB01.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003BAE
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #242db0;
/* rgb */ color: rgb(36, 45, 176);
/* oklch */ color: oklch(39.6% 0.202 270.0);
Tailwind
colors: {
  custom: {
    50: '#7867c9',
    500: '#242db0',
    950: '#000000',
  },
}
SCSS
$custom: #242db0;
$custom-light: #7867c9;
$custom-dark: #000000;
JSON
{
  "hex": "#242db0",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 236.143,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39573,
    "c": 0.20161,
    "h": 270
  },
  "luminance": 0.05386
}

Semantic roles & 50–950 ramp

primary
#242DB0
secondary
#C8C168
accent
#DE3FE9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #242DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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