#282394#282394

#282394 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.176 H 274.5°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#282394
RGBrgb(40, 35, 148)
HSLhsl(243, 62%, 36%)
HSVhsv(243, 76%, 58%)
CMYKcmyk(73%, 76.4%, 0%, 42%)
CIE-LABlab(22.97, 39.81, -60.58)
CIE-LCHlch(22.97, 72.49, 303.31°)
OKLaboklab(35.31% 0.0139 -0.1752)
OKLCHoklch(35.31% 0.176 274.5)
XYZxyz(6.8196, 3.7906, 28.3835)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282394 #8F9423
analogous
#235694 #282394 #602394
triadic
#282394 #942823 #239428
tetradic
#282394 #942356 #8F9423 #239460
square
#282394 #942356 #8F9423 #239460
split-complementary
#282394 #946023 #569423
monochromatic
#0D0C31 #1B1763 #282394 #352FC5 #5F5AD8

Accessibility & contrast

On white

11.94
#282394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#282394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282394
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282394#FFFFFF#000000##FFFFFF
##2823941.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003192
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #282394;
/* rgb */ color: rgb(40, 35, 148);
/* oklch */ color: oklch(35.3% 0.176 274.5);
Tailwind
colors: {
  custom: {
    50: '#7460b5',
    500: '#282394',
    950: '#000000',
  },
}
SCSS
$custom: #282394;
$custom-light: #7460b5;
$custom-dark: #000000;
JSON
{
  "hex": "#282394",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 242.655,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35305,
    "c": 0.17575,
    "h": 274.5
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#282394
secondary
#B8BC57
accent
#E543DE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282394

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

Preview Lab → · Contrast checker → · Palette generator →

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