#242A93#242A93

#242A93 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.168 H 271.8°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#242A93
RGBrgb(36, 42, 147)
HSLhsl(237, 61%, 36%)
HSVhsv(237, 76%, 58%)
CMYKcmyk(75.5%, 71.4%, 0%, 42.4%)
CIE-LABlab(24.12, 34.85, -58.07)
CIE-LCHlch(24.12, 67.72, 300.97°)
OKLaboklab(36.03% 0.0054 -0.168)
OKLCHoklch(36.03% 0.168 271.8)
XYZxyz(6.8202, 4.1369, 28.0372)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242A93 #938D24
analogous
#246193 #242A93 #552493
triadic
#242A93 #93242A #2A9324
tetradic
#242A93 #932461 #938D24 #249355
square
#242A93 #932461 #938D24 #249355
split-complementary
#242A93 #935524 #619324
monochromatic
#0C0E31 #181C62 #242A93 #3038C4 #5B61D7

Accessibility & contrast

On white

11.49
#242A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#242A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242A93
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242A93#FFFFFF#000000##FFFFFF
##242A931.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242a93;
/* rgb */ color: rgb(36, 42, 147);
/* oklch */ color: oklch(36.0% 0.168 271.8);
Tailwind
colors: {
  custom: {
    50: '#7164b4',
    500: '#242a93',
    950: '#000000',
  },
}
SCSS
$custom: #242a93;
$custom-light: #7164b4;
$custom-dark: #000000;
JSON
{
  "hex": "#242a93",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 236.757,
    "s": 60.656,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36028,
    "c": 0.16811,
    "h": 271.8
  },
  "luminance": 0.04138
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #242A93

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

Preview Lab → · Contrast checker → · Palette generator →

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