#242D9F#242D9F

#242D9F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.180 H 270.7°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#242D9F
RGBrgb(36, 45, 159)
HSLhsl(236, 63%, 38%)
HSVhsv(236, 77%, 62%)
CMYKcmyk(77.4%, 71.7%, 0%, 37.6%)
CIE-LABlab(26.02, 37.27, -62.29)
CIE-LCHlch(26.02, 72.59, 300.90°)
OKLaboklab(37.77% 0.0023 -0.1803)
OKLCHoklch(37.77% 0.18 270.7)
XYZxyz(7.9218, 4.7542, 33.2943)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242D9F #9F9624
analogous
#246A9F #242D9F #58249F
triadic
#242D9F #9F242D #2D9F24
tetradic
#242D9F #9F246A #9F9624 #249F58
square
#242D9F #9F246A #9F9624 #249F58
split-complementary
#242D9F #9F5824 #6A9F24
monochromatic
#0D113B #191F6D #242D9F #303CD0 #626BDB

Accessibility & contrast

On white

10.76
#242D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#242D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242D9F
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242D9F#FFFFFF#000000##FFFFFF
##242D9F1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #242d9f;
/* rgb */ color: rgb(36, 45, 159);
/* oklch */ color: oklch(37.8% 0.180 270.7);
Tailwind
colors: {
  custom: {
    50: '#7467bd',
    500: '#242d9f',
    950: '#000000',
  },
}
SCSS
$custom: #242d9f;
$custom-light: #7467bd;
$custom-dark: #000000;
JSON
{
  "hex": "#242d9f",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 235.61,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37766,
    "c": 0.18033,
    "h": 270.7
  },
  "luminance": 0.04755
}

Semantic roles & 50–950 ramp

primary
#242D9F
secondary
#C1B95E
accent
#DA42E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #242D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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