#242A9A#242A9A

#242A9A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.177 H 271.4°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#242A9A
RGBrgb(36, 42, 154)
HSLhsl(237, 62%, 37%)
HSVhsv(237, 77%, 60%)
CMYKcmyk(76.6%, 72.7%, 0%, 39.6%)
CIE-LABlab(24.84, 37.34, -61.19)
CIE-LCHlch(24.84, 71.68, 301.40°)
OKLaboklab(36.76% 0.0045 -0.1771)
OKLCHoklch(36.76% 0.177 271.4)
XYZxyz(7.3863, 4.3633, 31.0185)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242A9A #9A9424
analogous
#24659A #242A9A #59249A
triadic
#242A9A #9A242A #2A9A24
tetradic
#242A9A #9A2465 #9A9424 #249A59
square
#242A9A #9A2465 #9A9424 #249A59
split-complementary
#242A9A #9A5924 #659A24
monochromatic
#0D0F37 #181C68 #242A9A #3038CC #5F65DA

Accessibility & contrast

On white

11.21
#242A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242A9A
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242A9A#FFFFFF#000000##FFFFFF
##242A9A1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003598
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #242a9a;
/* rgb */ color: rgb(36, 42, 154);
/* oklch */ color: oklch(36.8% 0.177 271.4);
Tailwind
colors: {
  custom: {
    50: '#7364b9',
    500: '#242a9a',
    950: '#000000',
  },
}
SCSS
$custom: #242a9a;
$custom-light: #7364b9;
$custom-dark: #000000;
JSON
{
  "hex": "#242a9a",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 236.949,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36761,
    "c": 0.17717,
    "h": 271.4
  },
  "luminance": 0.04364
}

Semantic roles & 50–950 ramp

primary
#242A9A
secondary
#BFB95B
accent
#DD43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #242A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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