#242689#242689

#242689 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.159 H 273.3°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#242689
RGBrgb(36, 38, 137)
HSLhsl(239, 58%, 34%)
HSVhsv(239, 74%, 54%)
CMYKcmyk(73.7%, 72.3%, 0%, 46.3%)
CIE-LABlab(22.18, 33.77, -55.04)
CIE-LCHlch(22.18, 64.58, 301.53°)
OKLaboklab(34.33% 0.0091 -0.1592)
OKLCHoklch(34.33% 0.159 273.3)
XYZxyz(5.9345, 3.5668, 24.0378)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242689 #898724
analogous
#245989 #242689 #552489
triadic
#242689 #892426 #268924
tetradic
#242689 #892459 #898724 #248955
square
#242689 #892459 #898724 #248955
split-complementary
#242689 #895524 #598924
monochromatic
#0B0B28 #171959 #242689 #3133B9 #5558D2

Accessibility & contrast

On white

12.26
#242689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#242689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242689
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242689#FFFFFF#000000##FFFFFF
##2426891.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #242689;
/* rgb */ color: rgb(36, 38, 137);
/* oklch */ color: oklch(34.3% 0.159 273.3);
Tailwind
colors: {
  custom: {
    50: '#6f61ac',
    500: '#242689',
    950: '#000000',
  },
}
SCSS
$custom: #242689;
$custom-light: #6f61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#242689",
  "rgb": {
    "r": 36,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 238.812,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3433,
    "c": 0.15944,
    "h": 273.3
  },
  "luminance": 0.03567
}

Semantic roles & 50–950 ramp

primary
#242689
secondary
#B7B552
accent
#DF46E2
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #242689

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

Preview Lab → · Contrast checker → · Palette generator →

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