#242086#242086

#242086 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.162 H 274.6°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#242086
RGBrgb(36, 32, 134)
HSLhsl(242, 61%, 33%)
HSVhsv(242, 76%, 53%)
CMYKcmyk(73.1%, 76.1%, 0%, 47.5%)
CIE-LABlab(20.55, 36.38, -55.85)
CIE-LCHlch(20.55, 66.65, 303.08°)
OKLaboklab(33.07% 0.0131 -0.1615)
OKLCHoklch(33.07% 0.162 274.6)
XYZxyz(5.5457, 3.1288, 22.8613)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242086 #828620
analogous
#204F86 #242086 #572086
triadic
#242086 #862420 #208624
tetradic
#242086 #86204F #828620 #208657
square
#242086 #86204F #828620 #208657
split-complementary
#242086 #865720 #4F8620
monochromatic
#090823 #171455 #242086 #312CB7 #514CD4

Accessibility & contrast

On white

12.92
#242086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#242086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242086
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242086#FFFFFF#000000##FFFFFF
##2420861.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #242086;
/* rgb */ color: rgb(36, 32, 134);
/* oklch */ color: oklch(33.1% 0.162 274.6);
Tailwind
colors: {
  custom: {
    50: '#6f5daa',
    500: '#242086',
    950: '#000000',
  },
}
SCSS
$custom: #242086;
$custom-light: #6f5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#242086",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 242.353,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3307,
    "c": 0.16204,
    "h": 274.6
  },
  "luminance": 0.03129
}

Semantic roles & 50–950 ramp

primary
#242086
secondary
#B3B74B
accent
#E543DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #242086

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

Preview Lab → · Contrast checker → · Palette generator →

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