#282894#282894

#282894 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.171 H 273.7°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#282894
RGBrgb(40, 40, 148)
HSLhsl(240, 57%, 37%)
HSVhsv(240, 73%, 58%)
CMYKcmyk(73%, 73%, 0%, 42%)
CIE-LABlab(24.02, 36.86, -58.84)
CIE-LCHlch(24.02, 69.43, 302.06°)
OKLaboklab(36.05% 0.0112 -0.1702)
OKLCHoklch(36.05% 0.171 273.7)
XYZxyz(6.9774, 4.1061, 28.4361)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282894 #949428
analogous
#285E94 #282894 #5E2894
triadic
#282894 #942828 #289428
tetradic
#282894 #94285E #949428 #28945E
square
#282894 #94285E #949428 #28945E
split-complementary
#282894 #945E28 #5E9428
monochromatic
#0E0E34 #1B1B64 #282894 #3535C4 #6262D5

Accessibility & contrast

On white

11.53
#282894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#282894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282894
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282894#FFFFFF#000000##FFFFFF
##2828941.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003492
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282894;
/* rgb */ color: rgb(40, 40, 148);
/* oklch */ color: oklch(36.1% 0.171 273.7);
Tailwind
colors: {
  custom: {
    50: '#7363b5',
    500: '#282894',
    950: '#000000',
  },
}
SCSS
$custom: #282894;
$custom-light: #7363b5;
$custom-dark: #000000;
JSON
{
  "hex": "#282894",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 240,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36053,
    "c": 0.17053,
    "h": 273.7
  },
  "luminance": 0.04107
}

Semantic roles & 50–950 ramp

primary
#282894
secondary
#BABA5E
accent
#E147E1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282894

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

Preview Lab → · Contrast checker → · Palette generator →

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