#242DB1#242DB1

#242DB1 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.7% C 0.203 H 269.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#242DB1
RGBrgb(36, 45, 177)
HSLhsl(236, 66%, 42%)
HSVhsv(236, 80%, 69%)
CMYKcmyk(79.7%, 74.6%, 0%, 30.6%)
CIE-LABlab(27.91, 43.56, -70.02)
CIE-LCHlch(27.91, 82.47, 301.89°)
OKLaboklab(39.68% -0.0003 -0.2028)
OKLCHoklch(39.68% 0.203 269.9)
XYZxyz(9.5990, 5.4251, 42.1277)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242DB1 #B1A824
analogous
#2474B1 #242DB1 #6224B1
triadic
#242DB1 #B1242D #2DB124
tetradic
#242DB1 #B12474 #B1A824 #24B162
square
#242DB1 #B12474 #B1A824 #24B162
split-complementary
#242DB1 #B16224 #74B124
monochromatic
#0F134B #1A207E #242DB1 #3B45D7 #6E75E1

Accessibility & contrast

On white

10.07
#242DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#242DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242DB1
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242DB1#FFFFFF#000000##FFFFFF
##242DB11.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003BAF
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #242db1;
/* rgb */ color: rgb(36, 45, 177);
/* oklch */ color: oklch(39.7% 0.203 269.9);
Tailwind
colors: {
  custom: {
    50: '#7967ca',
    500: '#242db1',
    950: '#000000',
  },
}
SCSS
$custom: #242db1;
$custom-light: #7967ca;
$custom-dark: #000000;
JSON
{
  "hex": "#242db1",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 236.17,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39682,
    "c": 0.20283,
    "h": 269.9
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#242DB1
secondary
#C8C269
accent
#DE3FE9
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #242DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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