#242289#242289

#242289 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.164 H 274.0°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#242289
RGBrgb(36, 34, 137)
HSLhsl(241, 60%, 34%)
HSVhsv(241, 75%, 54%)
CMYKcmyk(73.7%, 75.2%, 0%, 46.3%)
CIE-LABlab(21.30, 36.22, -56.50)
CIE-LCHlch(21.30, 67.11, 302.67°)
OKLaboklab(33.7% 0.0115 -0.1634)
OKLCHoklch(33.7% 0.164 274)
XYZxyz(5.8134, 3.3247, 23.9974)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242289 #878922
analogous
#225389 #242289 #572289
triadic
#242289 #892422 #228924
tetradic
#242289 #892253 #878922 #228957
square
#242289 #892253 #878922 #228957
split-complementary
#242289 #895722 #538922
monochromatic
#0A0A27 #171658 #242289 #312EBA #5451D4

Accessibility & contrast

On white

12.61
#242289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#242289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242289
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242289#FFFFFF#000000##FFFFFF
##2422891.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#002E87
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #242289;
/* rgb */ color: rgb(36, 34, 137);
/* oklch */ color: oklch(33.7% 0.164 274.0);
Tailwind
colors: {
  custom: {
    50: '#6f5ead',
    500: '#242289',
    950: '#000000',
  },
}
SCSS
$custom: #242289;
$custom-light: #6f5ead;
$custom-dark: #000000;
JSON
{
  "hex": "#242289",
  "rgb": {
    "r": 36,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 241.165,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33697,
    "c": 0.16381,
    "h": 274
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#242289
secondary
#B5B84F
accent
#E344E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #242289

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

Preview Lab → · Contrast checker → · Palette generator →

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