#242A9C#242A9C

#242A9C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.180 H 271.3°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#242A9C
RGBrgb(36, 42, 156)
HSLhsl(237, 63%, 38%)
HSVhsv(237, 77%, 61%)
CMYKcmyk(76.9%, 73.1%, 0%, 38.8%)
CIE-LABlab(25.05, 38.05, -62.07)
CIE-LCHlch(25.05, 72.80, 301.51°)
OKLaboklab(36.97% 0.0042 -0.1797)
OKLCHoklch(36.97% 0.18 271.3)
XYZxyz(7.5542, 4.4305, 31.9031)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242A9C #9C9624
analogous
#24669C #242A9C #5A249C
triadic
#242A9C #9C242A #2A9C24
tetradic
#242A9C #9C2466 #9C9624 #249C5A
square
#242A9C #9C2466 #9C9624 #249C5A
split-complementary
#242A9C #9C5A24 #669C24
monochromatic
#0D0F39 #191D6A #242A9C #2F37CE #6066DA

Accessibility & contrast

On white

11.13
#242A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#242A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242A9C
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242A9C#FFFFFF#000000##FFFFFF
##242A9C1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #242a9c;
/* rgb */ color: rgb(36, 42, 156);
/* oklch */ color: oklch(37.0% 0.180 271.3);
Tailwind
colors: {
  custom: {
    50: '#7364ba',
    500: '#242a9c',
    950: '#000000',
  },
}
SCSS
$custom: #242a9c;
$custom-light: #7364ba;
$custom-dark: #000000;
JSON
{
  "hex": "#242a9c",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 237,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36973,
    "c": 0.17972,
    "h": 271.3
  },
  "luminance": 0.04431
}

Semantic roles & 50–950 ramp

primary
#242A9C
secondary
#BFBA5C
accent
#DD42E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #242A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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