#282688#282688

#282688 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.157 H 275.2°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#282688
RGBrgb(40, 38, 136)
HSLhsl(241, 56%, 34%)
HSVhsv(241, 72%, 53%)
CMYKcmyk(70.6%, 72.1%, 0%, 46.7%)
CIE-LABlab(22.35, 33.89, -54.13)
CIE-LCHlch(22.35, 63.86, 302.05°)
OKLaboklab(34.49% 0.0144 -0.1564)
OKLCHoklch(34.49% 0.157 275.2)
XYZxyz(6.0107, 3.6144, 23.6687)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282688 #868826
analogous
#265588 #282688 #592688
triadic
#282688 #882826 #268828
tetradic
#282688 #882655 #868826 #268859
square
#282688 #882655 #868826 #268859
split-complementary
#282688 #885926 #558826
monochromatic
#0C0B28 #1A1958 #282688 #3633B8 #5B58D0

Accessibility & contrast

On white

12.19
#282688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#282688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282688
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282688#FFFFFF#000000##FFFFFF
##2826881.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003186
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282688;
/* rgb */ color: rgb(40, 38, 136);
/* oklch */ color: oklch(34.5% 0.157 275.2);
Tailwind
colors: {
  custom: {
    50: '#7061ac',
    500: '#282688',
    950: '#000000',
  },
}
SCSS
$custom: #282688;
$custom-light: #7061ac;
$custom-dark: #000000;
JSON
{
  "hex": "#282688",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 136
  },
  "hsl": {
    "h": 241.224,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34491,
    "c": 0.15707,
    "h": 275.2
  },
  "luminance": 0.03615
}

Semantic roles & 50–950 ramp

primary
#282688
secondary
#B3B555
accent
#E048DD
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #282688

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

Preview Lab → · Contrast checker → · Palette generator →

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