#242183#242183

#242183 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.157 H 274.8°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#242183
RGBrgb(36, 33, 131)
HSLhsl(242, 60%, 32%)
HSVhsv(242, 75%, 51%)
CMYKcmyk(72.5%, 74.8%, 0%, 48.6%)
CIE-LABlab(20.44, 34.73, -54.14)
CIE-LCHlch(20.44, 64.32, 302.68°)
OKLaboklab(32.9% 0.0132 -0.1565)
OKLCHoklch(32.9% 0.157 274.8)
XYZxyz(5.3668, 3.1010, 21.7840)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242183 #808321
analogous
#214F83 #242183 #552183
triadic
#242183 #832421 #218324
tetradic
#242183 #83214F #808321 #218355
square
#242183 #83214F #808321 #218355
split-complementary
#242183 #835521 #4F8321
monochromatic
#090821 #171552 #242183 #312DB4 #504CD2

Accessibility & contrast

On white

12.96
#242183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#242183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242183
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242183#FFFFFF#000000##FFFFFF
##2421831.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#002D81
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #242183;
/* rgb */ color: rgb(36, 33, 131);
/* oklch */ color: oklch(32.9% 0.157 274.8);
Tailwind
colors: {
  custom: {
    50: '#6e5da8',
    500: '#242183',
    950: '#000000',
  },
}
SCSS
$custom: #242183;
$custom-light: #6e5da8;
$custom-dark: #000000;
JSON
{
  "hex": "#242183",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 241.837,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32896,
    "c": 0.15708,
    "h": 274.8
  },
  "luminance": 0.03101
}

Semantic roles & 50–950 ramp

primary
#242183
secondary
#B2B54B
accent
#E345DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #242183

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

Preview Lab → · Contrast checker → · Palette generator →

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