#242D9A#242D9A

#242D9A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.174 H 271.0°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#242D9A
RGBrgb(36, 45, 154)
HSLhsl(235, 62%, 37%)
HSVhsv(235, 77%, 60%)
CMYKcmyk(76.6%, 70.8%, 0%, 39.6%)
CIE-LABlab(25.52, 35.48, -60.07)
CIE-LCHlch(25.52, 69.77, 300.57°)
OKLaboklab(37.25% 0.0029 -0.1739)
OKLCHoklch(37.25% 0.174 271)
XYZxyz(7.4967, 4.5841, 31.0553)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242D9A #9A9124
analogous
#24689A #242D9A #56249A
triadic
#242D9A #9A242D #2D9A24
tetradic
#242D9A #9A2468 #9A9124 #249A56
square
#242D9A #9A2468 #9A9124 #249A56
split-complementary
#242D9A #9A5624 #689A24
monochromatic
#0D1037 #181F68 #242D9A #303BCC #5F68DA

Accessibility & contrast

On white

10.95
#242D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#242D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242D9A
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242D9A#FFFFFF#000000##FFFFFF
##242D9A1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #242d9a;
/* rgb */ color: rgb(36, 45, 154);
/* oklch */ color: oklch(37.2% 0.174 271.0);
Tailwind
colors: {
  custom: {
    50: '#7366b9',
    500: '#242d9a',
    950: '#000000',
  },
}
SCSS
$custom: #242d9a;
$custom-light: #7366b9;
$custom-dark: #000000;
JSON
{
  "hex": "#242d9a",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 154
  },
  "hsl": {
    "h": 235.424,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37248,
    "c": 0.17388,
    "h": 271
  },
  "luminance": 0.04585
}

Semantic roles & 50–950 ramp

primary
#242D9A
secondary
#BFB75B
accent
#D943E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #242D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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