#242DC4#242DC4

#242DC4 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.8% C 0.225 H 269.2°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#242DC4
RGBrgb(36, 45, 196)
HSLhsl(237, 69%, 45%)
HSVhsv(237, 82%, 77%)
CMYKcmyk(81.6%, 77%, 0%, 23.1%)
CIE-LABlab(30.00, 49.92, -77.82)
CIE-LCHlch(30.00, 92.46, 302.68°)
OKLaboklab(41.77% -0.0033 -0.2255)
OKLCHoklch(41.77% 0.225 269.2)
XYZxyz(11.6263, 6.2360, 52.8048)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242DC4 #C4BB24
analogous
#247DC4 #242DC4 #6B24C4
triadic
#242DC4 #C4242D #2DC424
tetradic
#242DC4 #C4247D #C4BB24 #24C46B
square
#242DC4 #C4247D #C4BB24 #24C46B
split-complementary
#242DC4 #C46B24 #7DC424
monochromatic
#11155D #1B2190 #242DC4 #4850DD #7C82E7

Accessibility & contrast

On white

9.34
#242DC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#242DC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242DC4
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242DC4#FFFFFF#000000##FFFFFF
##242DC41.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC8
Deuteranopia (green-blind)
#003EC1
Tritanopia (blue-blind)
#005B77
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #242dc4;
/* rgb */ color: rgb(36, 45, 196);
/* oklch */ color: oklch(41.8% 0.225 269.2);
Tailwind
colors: {
  custom: {
    50: '#7d68d7',
    500: '#242dc4',
    950: '#000000',
  },
}
SCSS
$custom: #242dc4;
$custom-light: #7d68d7;
$custom-dark: #000000;
JSON
{
  "hex": "#242dc4",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 196
  },
  "hsl": {
    "h": 236.625,
    "s": 68.966,
    "l": 45.49
  },
  "oklch": {
    "l": 0.41773,
    "c": 0.22548,
    "h": 269.2
  },
  "luminance": 0.06237
}

Semantic roles & 50–950 ramp

primary
#242DC4
secondary
#CFCA75
accent
#E23CEC
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #242DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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