#242C9E#242C9E

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

Color values

HEX#242C9E
RGBrgb(36, 44, 158)
HSLhsl(236, 63%, 38%)
HSVhsv(236, 77%, 62%)
CMYKcmyk(77.2%, 72.2%, 0%, 38%)
CIE-LABlab(25.70, 37.54, -62.22)
CIE-LCHlch(25.70, 72.66, 301.10°)
OKLaboklab(37.5% 0.0029 -0.1801)
OKLCHoklch(37.5% 0.18 270.9)
XYZxyz(7.7977, 4.6442, 32.8266)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242C9E #9E9624
analogous
#24699E #242C9E #59249E
triadic
#242C9E #9E242C #2C9E24
tetradic
#242C9E #9E2469 #9E9624 #249E59
square
#242C9E #9E2469 #9E9624 #249E59
split-complementary
#242C9E #9E5924 #699E24
monochromatic
#0D103A #191E6C #242C9E #2F3AD0 #6169DB

Accessibility & contrast

On white

10.89
#242C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242C9E
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242C9E#FFFFFF#000000##FFFFFF
##242C9E1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #242c9e;
/* rgb */ color: rgb(36, 44, 158);
/* oklch */ color: oklch(37.5% 0.180 270.9);
Tailwind
colors: {
  custom: {
    50: '#7466bc',
    500: '#242c9e',
    950: '#000000',
  },
}
SCSS
$custom: #242c9e;
$custom-light: #7466bc;
$custom-dark: #000000;
JSON
{
  "hex": "#242c9e",
  "rgb": {
    "r": 36,
    "g": 44,
    "b": 158
  },
  "hsl": {
    "h": 236.066,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37501,
    "c": 0.18013,
    "h": 270.9
  },
  "luminance": 0.04645
}

Semantic roles & 50–950 ramp

primary
#242C9E
secondary
#C0BA5E
accent
#DB42E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #242C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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