#242A99#242A99

#242A99 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.176 H 271.5°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#242A99
RGBrgb(36, 42, 153)
HSLhsl(237, 62%, 37%)
HSVhsv(237, 76%, 60%)
CMYKcmyk(76.5%, 72.5%, 0%, 40%)
CIE-LABlab(24.73, 36.99, -60.75)
CIE-LCHlch(24.73, 71.12, 301.34°)
OKLaboklab(36.66% 0.0046 -0.1758)
OKLCHoklch(36.66% 0.176 271.5)
XYZxyz(7.3033, 4.3301, 30.5817)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242A99 #999324
analogous
#246599 #242A99 #592499
triadic
#242A99 #99242A #2A9924
tetradic
#242A99 #992465 #999324 #249959
square
#242A99 #992465 #999324 #249959
split-complementary
#242A99 #995924 #659924
monochromatic
#0D0F36 #181C67 #242A99 #3038CB #5E65D9

Accessibility & contrast

On white

11.25
#242A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#242A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242A99
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242A99#FFFFFF#000000##FFFFFF
##242A991.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #242a99;
/* rgb */ color: rgb(36, 42, 153);
/* oklch */ color: oklch(36.7% 0.176 271.5);
Tailwind
colors: {
  custom: {
    50: '#7364b8',
    500: '#242a99',
    950: '#000000',
  },
}
SCSS
$custom: #242a99;
$custom-light: #7364b8;
$custom-dark: #000000;
JSON
{
  "hex": "#242a99",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 236.923,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36656,
    "c": 0.17588,
    "h": 271.5
  },
  "luminance": 0.04331
}

Semantic roles & 50–950 ramp

primary
#242A99
secondary
#BEB95B
accent
#DD43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #242A99

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

Preview Lab → · Contrast checker → · Palette generator →

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