#242DA9#242DA9

#242DA9 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.193 H 270.3°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#242DA9
RGBrgb(36, 45, 169)
HSLhsl(236, 65%, 40%)
HSVhsv(236, 79%, 66%)
CMYKcmyk(78.7%, 73.4%, 0%, 33.7%)
CIE-LABlab(27.06, 40.80, -66.63)
CIE-LCHlch(27.06, 78.13, 301.48°)
OKLaboklab(38.82% 0.0009 -0.193)
OKLCHoklch(38.82% 0.193 270.3)
XYZxyz(8.8249, 5.1154, 38.0507)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242DA9 #A9A024
analogous
#246FA9 #242DA9 #5E24A9
triadic
#242DA9 #A9242D #2DA924
tetradic
#242DA9 #A9246F #A9A024 #24A95E
square
#242DA9 #A9246F #A9A024 #24A95E
split-complementary
#242DA9 #A95E24 #6FA924
monochromatic
#0F1244 #192077 #242DA9 #3641D4 #6870DF

Accessibility & contrast

On white

10.38
#242DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#242DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242DA9
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242DA9#FFFFFF#000000##FFFFFF
##242DA91.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #242da9;
/* rgb */ color: rgb(36, 45, 169);
/* oklch */ color: oklch(38.8% 0.193 270.3);
Tailwind
colors: {
  custom: {
    50: '#7767c4',
    500: '#242da9',
    950: '#000000',
  },
}
SCSS
$custom: #242da9;
$custom-light: #7767c4;
$custom-dark: #000000;
JSON
{
  "hex": "#242da9",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 235.94,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38821,
    "c": 0.19297,
    "h": 270.3
  },
  "luminance": 0.05116
}

Semantic roles & 50–950 ramp

primary
#242DA9
secondary
#C5BE64
accent
#DC40E8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #242DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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