#242A9D#242A9D

#242A9D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.181 H 271.3°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#242A9D
RGBrgb(36, 42, 157)
HSLhsl(237, 63%, 38%)
HSVhsv(237, 77%, 62%)
CMYKcmyk(77.1%, 73.2%, 0%, 38.4%)
CIE-LABlab(25.15, 38.40, -62.51)
CIE-LCHlch(25.15, 73.36, 301.57°)
OKLaboklab(37.08% 0.004 -0.1809)
OKLCHoklch(37.08% 0.181 271.3)
XYZxyz(7.6393, 4.4645, 32.3509)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242A9D #9D9724
analogous
#24669D #242A9D #5B249D
triadic
#242A9D #9D242A #2A9D24
tetradic
#242A9D #9D2466 #9D9724 #249D5B
square
#242A9D #9D2466 #9D9724 #249D5B
split-complementary
#242A9D #9D5B24 #669D24
monochromatic
#0D0F39 #191D6B #242A9D #2F37CF #6167DB

Accessibility & contrast

On white

11.09
#242A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242A9D
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242A9D#FFFFFF#000000##FFFFFF
##242A9D1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#00369B
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #242a9d;
/* rgb */ color: rgb(36, 42, 157);
/* oklch */ color: oklch(37.1% 0.181 271.3);
Tailwind
colors: {
  custom: {
    50: '#7464bb',
    500: '#242a9d',
    950: '#000000',
  },
}
SCSS
$custom: #242a9d;
$custom-light: #7464bb;
$custom-dark: #000000;
JSON
{
  "hex": "#242a9d",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 157
  },
  "hsl": {
    "h": 237.025,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37079,
    "c": 0.18099,
    "h": 271.3
  },
  "luminance": 0.04465
}

Semantic roles & 50–950 ramp

primary
#242A9D
secondary
#C0BB5D
accent
#DE42E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #242A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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