#282699#282699

#282699 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.179 H 273.6°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#282699
RGBrgb(40, 38, 153)
HSLhsl(241, 60%, 37%)
HSVhsv(241, 75%, 60%)
CMYKcmyk(73.9%, 75.2%, 0%, 40%)
CIE-LABlab(24.12, 39.77, -61.76)
CIE-LCHlch(24.12, 73.45, 302.78°)
OKLaboklab(36.28% 0.0114 -0.1786)
OKLCHoklch(36.28% 0.179 273.6)
XYZxyz(7.3160, 4.1365, 30.5437)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282699 #979926
analogous
#265E99 #282699 #612699
triadic
#282699 #992826 #269928
tetradic
#282699 #99265E #979926 #269961
square
#282699 #99265E #979926 #269961
split-complementary
#282699 #996126 #5E9926
monochromatic
#0E0E37 #1B1A68 #282699 #3532CA #6462D8

Accessibility & contrast

On white

11.49
#282699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#282699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282699
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282699#FFFFFF#000000##FFFFFF
##2826991.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003497
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282699;
/* rgb */ color: rgb(40, 38, 153);
/* oklch */ color: oklch(36.3% 0.179 273.6);
Tailwind
colors: {
  custom: {
    50: '#7562b8',
    500: '#282699',
    950: '#000000',
  },
}
SCSS
$custom: #282699;
$custom-light: #7562b8;
$custom-dark: #000000;
JSON
{
  "hex": "#282699",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 241.043,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3628,
    "c": 0.17901,
    "h": 273.6
  },
  "luminance": 0.04137
}

Semantic roles & 50–950 ramp

primary
#282699
secondary
#BCBD5E
accent
#E344E1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #282699

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

Preview Lab → · Contrast checker → · Palette generator →

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