#242DA8#242DA8

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

Color values

HEX#242DA8
RGBrgb(36, 45, 168)
HSLhsl(236, 65%, 40%)
HSVhsv(236, 79%, 66%)
CMYKcmyk(78.6%, 73.2%, 0%, 34.1%)
CIE-LABlab(26.96, 40.45, -66.20)
CIE-LCHlch(26.96, 77.58, 301.43°)
OKLaboklab(38.71% 0.0011 -0.1917)
OKLCHoklch(38.71% 0.192 270.3)
XYZxyz(8.7314, 5.0780, 37.5582)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242DA8 #A89F24
analogous
#246FA8 #242DA8 #5D24A8
triadic
#242DA8 #A8242D #2DA824
tetradic
#242DA8 #A8246F #A89F24 #24A85D
square
#242DA8 #A8246F #A89F24 #24A85D
split-complementary
#242DA8 #A85D24 #6FA824
monochromatic
#0E1243 #192076 #242DA8 #3540D4 #6870DF

Accessibility & contrast

On white

10.42
#242DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242DA8
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242DA8#FFFFFF#000000##FFFFFF
##242DA81.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #242da8;
/* rgb */ color: rgb(36, 45, 168);
/* oklch */ color: oklch(38.7% 0.192 270.3);
Tailwind
colors: {
  custom: {
    50: '#7667c3',
    500: '#242da8',
    950: '#000000',
  },
}
SCSS
$custom: #242da8;
$custom-light: #7667c3;
$custom-dark: #000000;
JSON
{
  "hex": "#242da8",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 168
  },
  "hsl": {
    "h": 235.909,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.38715,
    "c": 0.19172,
    "h": 270.3
  },
  "luminance": 0.05079
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #242DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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