#242C9D#242C9D

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

Color values

HEX#242C9D
RGBrgb(36, 44, 157)
HSLhsl(236, 63%, 38%)
HSVhsv(236, 77%, 62%)
CMYKcmyk(77.1%, 72%, 0%, 38.4%)
CIE-LABlab(25.59, 37.18, -61.78)
CIE-LCHlch(25.59, 72.10, 301.04°)
OKLaboklab(37.4% 0.003 -0.1788)
OKLCHoklch(37.4% 0.179 271)
XYZxyz(7.7120, 4.6099, 32.3751)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242C9D #9D9524
analogous
#24689D #242C9D #58249D
triadic
#242C9D #9D242C #2C9D24
tetradic
#242C9D #9D2468 #9D9524 #249D58
square
#242C9D #9D2468 #9D9524 #249D58
split-complementary
#242C9D #9D5824 #689D24
monochromatic
#0D1039 #191E6B #242C9D #2F3ACF #6169DB

Accessibility & contrast

On white

10.92
#242C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242C9D
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242C9D#FFFFFF#000000##FFFFFF
##242C9D1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242c9d;
/* rgb */ color: rgb(36, 44, 157);
/* oklch */ color: oklch(37.4% 0.179 271.0);
Tailwind
colors: {
  custom: {
    50: '#7466bb',
    500: '#242c9d',
    950: '#000000',
  },
}
SCSS
$custom: #242c9d;
$custom-light: #7466bb;
$custom-dark: #000000;
JSON
{
  "hex": "#242c9d",
  "rgb": {
    "r": 36,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 236.033,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37396,
    "c": 0.17886,
    "h": 271
  },
  "luminance": 0.04611
}

Semantic roles & 50–950 ramp

primary
#242C9D
secondary
#C0B95D
accent
#DB42E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #242C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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