#242C99#242C99

#242C99 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.174 H 271.2°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#242C99
RGBrgb(36, 44, 153)
HSLhsl(236, 62%, 37%)
HSVhsv(236, 76%, 60%)
CMYKcmyk(76.5%, 71.2%, 0%, 40%)
CIE-LABlab(25.19, 35.75, -60.00)
CIE-LCHlch(25.19, 69.85, 300.79°)
OKLaboklab(36.98% 0.0036 -0.1737)
OKLCHoklch(36.98% 0.174 271.2)
XYZxyz(7.3761, 4.4756, 30.6059)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242C99 #999124
analogous
#246799 #242C99 #562499
triadic
#242C99 #99242C #2C9924
tetradic
#242C99 #992467 #999124 #249956
square
#242C99 #992467 #999124 #249956
split-complementary
#242C99 #995624 #679924
monochromatic
#0D1036 #181E67 #242C99 #303ACB #5E67D9

Accessibility & contrast

On white

11.08
#242C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#242C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242C99
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242C99#FFFFFF#000000##FFFFFF
##242C991.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #242c99;
/* rgb */ color: rgb(36, 44, 153);
/* oklch */ color: oklch(37.0% 0.174 271.2);
Tailwind
colors: {
  custom: {
    50: '#7366b8',
    500: '#242c99',
    950: '#000000',
  },
}
SCSS
$custom: #242c99;
$custom-light: #7366b8;
$custom-dark: #000000;
JSON
{
  "hex": "#242c99",
  "rgb": {
    "r": 36,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 235.897,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3698,
    "c": 0.1737,
    "h": 271.2
  },
  "luminance": 0.04476
}

Semantic roles & 50–950 ramp

primary
#242C99
secondary
#BEB75B
accent
#DA43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #242C99

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

Preview Lab → · Contrast checker → · Palette generator →

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