#282388#282388

#282388 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.160 H 275.8°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#282388
RGBrgb(40, 35, 136)
HSLhsl(243, 59%, 34%)
HSVhsv(243, 74%, 53%)
CMYKcmyk(70.6%, 74.3%, 0%, 46.7%)
CIE-LABlab(21.69, 35.72, -55.22)
CIE-LCHlch(21.69, 65.77, 302.90°)
OKLaboklab(34.02% 0.0163 -0.1596)
OKLCHoklch(34.02% 0.16 275.8)
XYZxyz(5.9186, 3.4302, 23.6380)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282388 #838823
analogous
#235088 #282388 #5A2388
triadic
#282388 #882823 #238828
tetradic
#282388 #882350 #838823 #23885A
square
#282388 #882350 #838823 #23885A
split-complementary
#282388 #885A23 #508823
monochromatic
#0B0A27 #1A1657 #282388 #3630B9 #5953D3

Accessibility & contrast

On white

12.45
#282388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#282388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282388
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282388#FFFFFF#000000##FFFFFF
##2823881.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#002F86
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #282388;
/* rgb */ color: rgb(40, 35, 136);
/* oklch */ color: oklch(34.0% 0.160 275.8);
Tailwind
colors: {
  custom: {
    50: '#715fac',
    500: '#282388',
    950: '#000000',
  },
}
SCSS
$custom: #282388;
$custom-light: #715fac;
$custom-dark: #000000;
JSON
{
  "hex": "#282388",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 136
  },
  "hsl": {
    "h": 242.97,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34017,
    "c": 0.16041,
    "h": 275.8
  },
  "luminance": 0.03431
}

Semantic roles & 50–950 ramp

primary
#282388
secondary
#B1B750
accent
#E246DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #282388

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

Preview Lab → · Contrast checker → · Palette generator →

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