#242598#242598

#242598 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.180 H 272.3°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#242598
RGBrgb(36, 37, 152)
HSLhsl(239, 62%, 37%)
HSVhsv(239, 76%, 60%)
CMYKcmyk(76.3%, 75.7%, 0%, 40.4%)
CIE-LABlab(23.55, 39.64, -62.08)
CIE-LCHlch(23.55, 73.66, 302.56°)
OKLaboklab(35.78% 0.0072 -0.1797)
OKLCHoklch(35.78% 0.18 272.3)
XYZxyz(7.0547, 3.9645, 30.0931)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242598 #989724
analogous
#245F98 #242598 #5D2498
triadic
#242598 #982425 #259824
tetradic
#242598 #98245F #989724 #24985D
square
#242598 #98245F #989724 #24985D
split-complementary
#242598 #985D24 #5F9824
monochromatic
#0D0D35 #181967 #242598 #3031C9 #5E5FD9

Accessibility & contrast

On white

11.71
#242598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#242598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242598
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242598#FFFFFF#000000##FFFFFF
##2425981.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9B
Deuteranopia (green-blind)
#003296
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #242598;
/* rgb */ color: rgb(36, 37, 152);
/* oklch */ color: oklch(35.8% 0.180 272.3);
Tailwind
colors: {
  custom: {
    50: '#7361b8',
    500: '#242598',
    950: '#000000',
  },
}
SCSS
$custom: #242598;
$custom-light: #7361b8;
$custom-dark: #000000;
JSON
{
  "hex": "#242598",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 239.483,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35782,
    "c": 0.17982,
    "h": 272.3
  },
  "luminance": 0.03965
}

Semantic roles & 50–950 ramp

primary
#242598
secondary
#BEBD5A
accent
#E343E5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #242598

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

Preview Lab → · Contrast checker → · Palette generator →

#242598 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva