#242D9C#242D9C

#242D9C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.176 H 270.9°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#242D9C
RGBrgb(36, 45, 156)
HSLhsl(236, 63%, 38%)
HSVhsv(236, 77%, 61%)
CMYKcmyk(76.9%, 71.2%, 0%, 38.8%)
CIE-LABlab(25.72, 36.20, -60.96)
CIE-LCHlch(25.72, 70.90, 300.70°)
OKLaboklab(37.46% 0.0027 -0.1765)
OKLCHoklch(37.46% 0.176 270.9)
XYZxyz(7.6646, 4.6513, 31.9399)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242D9C #9C9324
analogous
#24699C #242D9C #57249C
triadic
#242D9C #9C242D #2D9C24
tetradic
#242D9C #9C2469 #9C9324 #249C57
square
#242D9C #9C2469 #9C9324 #249C57
split-complementary
#242D9C #9C5724 #699C24
monochromatic
#0D1039 #191F6A #242D9C #2F3BCE #6069DA

Accessibility & contrast

On white

10.88
#242D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#242D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242D9C
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242D9C#FFFFFF#000000##FFFFFF
##242D9C1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #242d9c;
/* rgb */ color: rgb(36, 45, 156);
/* oklch */ color: oklch(37.5% 0.176 270.9);
Tailwind
colors: {
  custom: {
    50: '#7366ba',
    500: '#242d9c',
    950: '#000000',
  },
}
SCSS
$custom: #242d9c;
$custom-light: #7366ba;
$custom-dark: #000000;
JSON
{
  "hex": "#242d9c",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 235.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37455,
    "c": 0.17648,
    "h": 270.9
  },
  "luminance": 0.04652
}

Semantic roles & 50–950 ramp

primary
#242D9C
secondary
#BFB85C
accent
#D942E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #242D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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