#242A92#242A92

#242A92 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.167 H 271.9°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#242A92
RGBrgb(36, 42, 146)
HSLhsl(237, 60%, 36%)
HSVhsv(237, 75%, 57%)
CMYKcmyk(75.3%, 71.2%, 0%, 42.7%)
CIE-LABlab(24.02, 34.49, -57.62)
CIE-LCHlch(24.02, 67.15, 300.90°)
OKLaboklab(35.93% 0.0056 -0.1667)
OKLCHoklch(35.93% 0.167 271.9)
XYZxyz(6.7421, 4.1056, 27.6257)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242A92 #928C24
analogous
#246192 #242A92 #552492
triadic
#242A92 #92242A #2A9224
tetradic
#242A92 #922461 #928C24 #249255
square
#242A92 #922461 #928C24 #249255
split-complementary
#242A92 #925524 #619224
monochromatic
#0C0E30 #181C61 #242A92 #3038C3 #5A61D6

Accessibility & contrast

On white

11.53
#242A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#242A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242A92
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242A92#FFFFFF#000000##FFFFFF
##242A921.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #242a92;
/* rgb */ color: rgb(36, 42, 146);
/* oklch */ color: oklch(35.9% 0.167 271.9);
Tailwind
colors: {
  custom: {
    50: '#7164b3',
    500: '#242a92',
    950: '#000000',
  },
}
SCSS
$custom: #242a92;
$custom-light: #7164b3;
$custom-dark: #000000;
JSON
{
  "hex": "#242a92",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 236.727,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35925,
    "c": 0.16679,
    "h": 271.9
  },
  "luminance": 0.04106
}

Semantic roles & 50–950 ramp

primary
#242A92
secondary
#BBB557
accent
#DB44E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #242A92

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

Preview Lab → · Contrast checker → · Palette generator →

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