#242283#242283

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

Color values

HEX#242283
RGBrgb(36, 34, 131)
HSLhsl(241, 59%, 32%)
HSVhsv(241, 74%, 51%)
CMYKcmyk(72.5%, 74%, 0%, 48.6%)
CIE-LABlab(20.66, 34.13, -53.78)
CIE-LCHlch(20.66, 63.69, 302.40°)
OKLaboklab(33.05% 0.0126 -0.1555)
OKLCHoklch(33.05% 0.156 274.6)
XYZxyz(5.3950, 3.1573, 21.7934)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242283 #818322
analogous
#225183 #242283 #542283
triadic
#242283 #832422 #228324
tetradic
#242283 #832251 #818322 #228354
square
#242283 #832251 #818322 #228354
split-complementary
#242283 #835422 #518322
monochromatic
#090922 #171552 #242283 #312FB4 #514ED1

Accessibility & contrast

On white

12.87
#242283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242283
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242283#FFFFFF#000000##FFFFFF
##2422831.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242283;
/* rgb */ color: rgb(36, 34, 131);
/* oklch */ color: oklch(33.1% 0.156 274.6);
Tailwind
colors: {
  custom: {
    50: '#6e5ea8',
    500: '#242283',
    950: '#000000',
  },
}
SCSS
$custom: #242283;
$custom-light: #6e5ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#242283",
  "rgb": {
    "r": 36,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 241.237,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33052,
    "c": 0.15599,
    "h": 274.6
  },
  "luminance": 0.03158
}

Semantic roles & 50–950 ramp

primary
#242283
secondary
#B2B44C
accent
#E246DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #242283

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

Preview Lab → · Contrast checker → · Palette generator →

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