#282698#282698

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

Color values

HEX#282698
RGBrgb(40, 38, 152)
HSLhsl(241, 60%, 37%)
HSVhsv(241, 75%, 60%)
CMYKcmyk(73.7%, 75%, 0%, 40.4%)
CIE-LABlab(24.01, 39.43, -61.32)
CIE-LCHlch(24.01, 72.90, 302.74°)
OKLaboklab(36.17% 0.0115 -0.1774)
OKLCHoklch(36.17% 0.178 273.7)
XYZxyz(7.2338, 4.1036, 30.1105)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282698 #969826
analogous
#265D98 #282698 #612698
triadic
#282698 #982826 #269828
tetradic
#282698 #98265D #969826 #269861
square
#282698 #98265D #969826 #269861
split-complementary
#282698 #986126 #5D9826
monochromatic
#0E0E36 #1B1A67 #282698 #3532C9 #6361D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##282698#FFFFFF#000000##FFFFFF
##2826981.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)
#003E9B
Deuteranopia (green-blind)
#003496
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282698;
/* rgb */ color: rgb(40, 38, 152);
/* oklch */ color: oklch(36.2% 0.178 273.7);
Tailwind
colors: {
  custom: {
    50: '#7462b7',
    500: '#282698',
    950: '#000000',
  },
}
SCSS
$custom: #282698;
$custom-light: #7462b7;
$custom-dark: #000000;
JSON
{
  "hex": "#282698",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 241.053,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36173,
    "c": 0.17775,
    "h": 273.7
  },
  "luminance": 0.04104
}

Semantic roles & 50–950 ramp

primary
#282698
secondary
#BBBD5D
accent
#E345E0
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #282698

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

Preview Lab → · Contrast checker → · Palette generator →

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