#242483#242483

#242483 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.154 H 274.2°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#242483
RGBrgb(36, 36, 131)
HSLhsl(240, 57%, 33%)
HSVhsv(240, 73%, 51%)
CMYKcmyk(72.5%, 72.5%, 0%, 48.6%)
CIE-LABlab(21.11, 32.88, -53.04)
CIE-LCHlch(21.11, 62.40, 301.80°)
OKLaboklab(33.38% 0.0113 -0.1533)
OKLCHoklch(33.38% 0.154 274.2)
XYZxyz(5.4538, 3.2750, 21.8130)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242483 #838324
analogous
#245383 #242483 #532483
triadic
#242483 #832424 #248324
tetradic
#242483 #832453 #838324 #248353
square
#242483 #832453 #838324 #248353
split-complementary
#242483 #835324 #538324
monochromatic
#0A0A23 #171753 #242483 #3131B3 #5252CF

Accessibility & contrast

On white

12.69
#242483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#242483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242483
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242483#FFFFFF#000000##FFFFFF
##2424831.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#002E81
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #242483;
/* rgb */ color: rgb(36, 36, 131);
/* oklch */ color: oklch(33.4% 0.154 274.2);
Tailwind
colors: {
  custom: {
    50: '#6e5fa8',
    500: '#242483',
    950: '#000000',
  },
}
SCSS
$custom: #242483;
$custom-light: #6e5fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#242483",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 131
  },
  "hsl": {
    "h": 240,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33375,
    "c": 0.15374,
    "h": 274.2
  },
  "luminance": 0.03276
}

Semantic roles & 50–950 ramp

primary
#242483
secondary
#B3B34F
accent
#E048E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #242483

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

Preview Lab → · Contrast checker → · Palette generator →

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