#242A9E#242A9E

#242A9E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.182 H 271.2°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#242A9E
RGBrgb(36, 42, 158)
HSLhsl(237, 63%, 38%)
HSVhsv(237, 77%, 62%)
CMYKcmyk(77.2%, 73.4%, 0%, 38%)
CIE-LABlab(25.26, 38.75, -62.94)
CIE-LCHlch(25.26, 73.92, 301.62°)
OKLaboklab(37.19% 0.0039 -0.1822)
OKLCHoklch(37.19% 0.182 271.2)
XYZxyz(7.7250, 4.4988, 32.8023)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242A9E #9E9824
analogous
#24679E #242A9E #5B249E
triadic
#242A9E #9E242A #2A9E24
tetradic
#242A9E #9E2467 #9E9824 #249E5B
square
#242A9E #9E2467 #9E9824 #249E5B
split-complementary
#242A9E #9E5B24 #679E24
monochromatic
#0D103A #191D6C #242A9E #2F37D0 #6167DB

Accessibility & contrast

On white

11.05
#242A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#242A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242A9E
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242A9E#FFFFFF#000000##FFFFFF
##242A9E1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242a9e;
/* rgb */ color: rgb(36, 42, 158);
/* oklch */ color: oklch(37.2% 0.182 271.2);
Tailwind
colors: {
  custom: {
    50: '#7464bc',
    500: '#242a9e',
    950: '#000000',
  },
}
SCSS
$custom: #242a9e;
$custom-light: #7464bc;
$custom-dark: #000000;
JSON
{
  "hex": "#242a9e",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 237.049,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37186,
    "c": 0.18226,
    "h": 271.2
  },
  "luminance": 0.045
}

Semantic roles & 50–950 ramp

primary
#242A9E
secondary
#C0BB5E
accent
#DE42E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #242A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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