#242E99#242E99

#242E99 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.171 H 270.8°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#242E99
RGBrgb(36, 46, 153)
HSLhsl(235, 62%, 37%)
HSVhsv(235, 76%, 60%)
CMYKcmyk(76.5%, 69.9%, 0%, 40%)
CIE-LABlab(25.65, 34.49, -59.24)
CIE-LCHlch(25.65, 68.55, 300.21°)
OKLaboklab(37.31% 0.0025 -0.1714)
OKLCHoklch(37.31% 0.171 270.8)
XYZxyz(7.4524, 4.6282, 30.6314)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E99 #998F24
analogous
#246999 #242E99 #552499
triadic
#242E99 #99242E #2E9924
tetradic
#242E99 #992469 #998F24 #249955
square
#242E99 #992469 #998F24 #249955
split-complementary
#242E99 #995524 #699924
monochromatic
#0D1036 #181F67 #242E99 #303DCB #5E69D9

Accessibility & contrast

On white

10.90
#242E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#242E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E99
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E99#FFFFFF#000000##FFFFFF
##242E991.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #242e99;
/* rgb */ color: rgb(36, 46, 153);
/* oklch */ color: oklch(37.3% 0.171 270.8);
Tailwind
colors: {
  custom: {
    50: '#7267b8',
    500: '#242e99',
    950: '#000000',
  },
}
SCSS
$custom: #242e99;
$custom-light: #7267b8;
$custom-dark: #000000;
JSON
{
  "hex": "#242e99",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 234.872,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37314,
    "c": 0.17146,
    "h": 270.8
  },
  "luminance": 0.04629
}

Semantic roles & 50–950 ramp

primary
#242E99
secondary
#BEB65B
accent
#D743E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #242E99

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

Preview Lab → · Contrast checker → · Palette generator →

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