#242D9D#242D9D

#242D9D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.178 H 270.8°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#242D9D
RGBrgb(36, 45, 157)
HSLhsl(236, 63%, 38%)
HSVhsv(236, 77%, 62%)
CMYKcmyk(77.1%, 71.3%, 0%, 38.4%)
CIE-LABlab(25.82, 36.56, -61.41)
CIE-LCHlch(25.82, 71.47, 300.77°)
OKLaboklab(37.56% 0.0025 -0.1777)
OKLCHoklch(37.56% 0.178 270.8)
XYZxyz(7.7497, 4.6853, 32.3877)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242D9D #9D9424
analogous
#24699D #242D9D #57249D
triadic
#242D9D #9D242D #2D9D24
tetradic
#242D9D #9D2469 #9D9424 #249D57
square
#242D9D #9D2469 #9D9424 #249D57
split-complementary
#242D9D #9D5724 #699D24
monochromatic
#0D1039 #191F6B #242D9D #2F3BCF #616ADB

Accessibility & contrast

On white

10.84
#242D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#242D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242D9D
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242D9D#FFFFFF#000000##FFFFFF
##242D9D1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #242d9d;
/* rgb */ color: rgb(36, 45, 157);
/* oklch */ color: oklch(37.6% 0.178 270.8);
Tailwind
colors: {
  custom: {
    50: '#7366bb',
    500: '#242d9d',
    950: '#000000',
  },
}
SCSS
$custom: #242d9d;
$custom-light: #7366bb;
$custom-dark: #000000;
JSON
{
  "hex": "#242d9d",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 235.537,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37558,
    "c": 0.17777,
    "h": 270.8
  },
  "luminance": 0.04686
}

Semantic roles & 50–950 ramp

primary
#242D9D
secondary
#C0B85D
accent
#DA42E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #242D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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