#242C94#242C94

#242C94 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.167 H 271.4°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#242C94
RGBrgb(36, 44, 148)
HSLhsl(236, 61%, 36%)
HSVhsv(236, 76%, 58%)
CMYKcmyk(75.7%, 70.3%, 0%, 42%)
CIE-LABlab(24.68, 33.94, -57.76)
CIE-LCHlch(24.68, 66.99, 300.44°)
OKLaboklab(36.47% 0.0042 -0.1671)
OKLCHoklch(36.47% 0.167 271.4)
XYZxyz(6.9717, 4.3138, 28.4765)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242C94 #948C24
analogous
#246494 #242C94 #542494
triadic
#242C94 #94242C #2C9424
tetradic
#242C94 #942464 #948C24 #249454
square
#242C94 #942464 #948C24 #249454
split-complementary
#242C94 #945424 #649424
monochromatic
#0C0F32 #181D63 #242C94 #303BC5 #5B64D7

Accessibility & contrast

On white

11.27
#242C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#242C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242C94
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242C94#FFFFFF#000000##FFFFFF
##242C941.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #242c94;
/* rgb */ color: rgb(36, 44, 148);
/* oklch */ color: oklch(36.5% 0.167 271.4);
Tailwind
colors: {
  custom: {
    50: '#7165b4',
    500: '#242c94',
    950: '#000000',
  },
}
SCSS
$custom: #242c94;
$custom-light: #7165b4;
$custom-dark: #000000;
JSON
{
  "hex": "#242c94",
  "rgb": {
    "r": 36,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 235.714,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36466,
    "c": 0.16716,
    "h": 271.4
  },
  "luminance": 0.04315
}

Semantic roles & 50–950 ramp

primary
#242C94
secondary
#BCB558
accent
#D944E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #242C94

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

Preview Lab → · Contrast checker → · Palette generator →

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