#242E9E#242E9E

#242E9E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.178 H 270.6°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#242E9E
RGBrgb(36, 46, 158)
HSLhsl(235, 63%, 38%)
HSVhsv(235, 77%, 62%)
CMYKcmyk(77.2%, 70.9%, 0%, 38%)
CIE-LABlab(26.15, 36.29, -61.47)
CIE-LCHlch(26.15, 71.39, 300.56°)
OKLaboklab(37.83% 0.0019 -0.1779)
OKLCHoklch(37.83% 0.178 270.6)
XYZxyz(7.8740, 4.7968, 32.8520)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E9E #9E9424
analogous
#246B9E #242E9E #57249E
triadic
#242E9E #9E242E #2E9E24
tetradic
#242E9E #9E246B #9E9424 #249E57
square
#242E9E #9E246B #9E9424 #249E57
split-complementary
#242E9E #9E5724 #6B9E24
monochromatic
#0D113A #191F6C #242E9E #2F3DD0 #616BDB

Accessibility & contrast

On white

10.72
#242E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#242E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E9E
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E9E#FFFFFF#000000##FFFFFF
##242E9E1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #242e9e;
/* rgb */ color: rgb(36, 46, 158);
/* oklch */ color: oklch(37.8% 0.178 270.6);
Tailwind
colors: {
  custom: {
    50: '#7467bc',
    500: '#242e9e',
    950: '#000000',
  },
}
SCSS
$custom: #242e9e;
$custom-light: #7467bc;
$custom-dark: #000000;
JSON
{
  "hex": "#242e9e",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 235.082,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37826,
    "c": 0.17796,
    "h": 270.6
  },
  "luminance": 0.04798
}

Semantic roles & 50–950 ramp

primary
#242E9E
secondary
#C0B85E
accent
#D842E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #242E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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