#242E97#242E97

#242E97 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.169 H 270.9°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#242E97
RGBrgb(36, 46, 151)
HSLhsl(235, 61%, 37%)
HSVhsv(235, 76%, 59%)
CMYKcmyk(76.2%, 69.5%, 0%, 40.8%)
CIE-LABlab(25.45, 33.76, -58.34)
CIE-LCHlch(25.45, 67.40, 300.06°)
OKLaboklab(37.11% 0.0027 -0.1688)
OKLCHoklch(37.11% 0.169 270.9)
XYZxyz(7.2886, 4.5626, 29.7687)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E97 #978D24
analogous
#246897 #242E97 #542497
triadic
#242E97 #97242E #2E9724
tetradic
#242E97 #972468 #978D24 #249754
square
#242E97 #972468 #978D24 #249754
split-complementary
#242E97 #975424 #689724
monochromatic
#0C1034 #181F66 #242E97 #303DC8 #5D68D8

Accessibility & contrast

On white

10.98
#242E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#242E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E97
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E97#FFFFFF#000000##FFFFFF
##242E971.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #242e97;
/* rgb */ color: rgb(36, 46, 151);
/* oklch */ color: oklch(37.1% 0.169 270.9);
Tailwind
colors: {
  custom: {
    50: '#7267b7',
    500: '#242e97',
    950: '#000000',
  },
}
SCSS
$custom: #242e97;
$custom-light: #7267b7;
$custom-dark: #000000;
JSON
{
  "hex": "#242e97",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 234.783,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37111,
    "c": 0.16882,
    "h": 270.9
  },
  "luminance": 0.04563
}

Semantic roles & 50–950 ramp

primary
#242E97
secondary
#BDB55A
accent
#D743E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #242E97

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

Preview Lab → · Contrast checker → · Palette generator →

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