#242DA1#242DA1

#242DA1 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.183 H 270.6°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#242DA1
RGBrgb(36, 45, 161)
HSLhsl(236, 63%, 39%)
HSVhsv(236, 78%, 63%)
CMYKcmyk(77.6%, 72%, 0%, 36.9%)
CIE-LABlab(26.23, 37.99, -63.17)
CIE-LCHlch(26.23, 73.71, 301.02°)
OKLaboklab(37.97% 0.002 -0.1829)
OKLCHoklch(37.97% 0.183 270.6)
XYZxyz(8.0968, 4.8242, 34.2157)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242DA1 #A19824
analogous
#246BA1 #242DA1 #5924A1
triadic
#242DA1 #A1242D #2DA124
tetradic
#242DA1 #A1246B #A19824 #24A159
square
#242DA1 #A1246B #A19824 #24A159
split-complementary
#242DA1 #A15924 #6BA124
monochromatic
#0E113D #191F6F #242DA1 #313DD1 #636CDC

Accessibility & contrast

On white

10.69
#242DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#242DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242DA1
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242DA1#FFFFFF#000000##FFFFFF
##242DA11.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #242da1;
/* rgb */ color: rgb(36, 45, 161);
/* oklch */ color: oklch(38.0% 0.183 270.6);
Tailwind
colors: {
  custom: {
    50: '#7467be',
    500: '#242da1',
    950: '#000000',
  },
}
SCSS
$custom: #242da1;
$custom-light: #7467be;
$custom-dark: #000000;
JSON
{
  "hex": "#242da1",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 235.68,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37975,
    "c": 0.18289,
    "h": 270.6
  },
  "luminance": 0.04825
}

Semantic roles & 50–950 ramp

primary
#242DA1
secondary
#C2BA5F
accent
#DB41E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #242DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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