#242A96#242A96

#242A96 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.172 H 271.7°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#242A96
RGBrgb(36, 42, 150)
HSLhsl(237, 61%, 36%)
HSVhsv(237, 76%, 59%)
CMYKcmyk(76%, 72%, 0%, 41.2%)
CIE-LABlab(24.43, 35.92, -59.41)
CIE-LCHlch(24.43, 69.43, 301.16°)
OKLaboklab(36.34% 0.005 -0.1719)
OKLCHoklch(36.34% 0.172 271.7)
XYZxyz(7.0587, 4.2323, 29.2931)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242A96 #969024
analogous
#246396 #242A96 #572496
triadic
#242A96 #96242A #2A9624
tetradic
#242A96 #962463 #969024 #249657
square
#242A96 #962463 #969024 #249657
split-complementary
#242A96 #965724 #639624
monochromatic
#0C0E33 #181C65 #242A96 #3038C7 #5C63D8

Accessibility & contrast

On white

11.37
#242A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#242A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242A96
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242A96#FFFFFF#000000##FFFFFF
##242A961.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #242a96;
/* rgb */ color: rgb(36, 42, 150);
/* oklch */ color: oklch(36.3% 0.172 271.7);
Tailwind
colors: {
  custom: {
    50: '#7264b6',
    500: '#242a96',
    950: '#000000',
  },
}
SCSS
$custom: #242a96;
$custom-light: #7264b6;
$custom-dark: #000000;
JSON
{
  "hex": "#242a96",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 236.842,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36341,
    "c": 0.17201,
    "h": 271.7
  },
  "luminance": 0.04233
}

Semantic roles & 50–950 ramp

primary
#242A96
secondary
#BDB759
accent
#DC43E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #242A96

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

Preview Lab → · Contrast checker → · Palette generator →

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