#282697#282697

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

Color values

HEX#282697
RGBrgb(40, 38, 151)
HSLhsl(241, 60%, 37%)
HSVhsv(241, 75%, 59%)
CMYKcmyk(73.5%, 74.8%, 0%, 40.8%)
CIE-LABlab(23.90, 39.09, -60.88)
CIE-LCHlch(23.90, 72.35, 302.70°)
OKLaboklab(36.07% 0.0117 -0.1761)
OKLCHoklch(36.07% 0.176 273.8)
XYZxyz(7.1522, 4.0710, 29.6810)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282697 #959726
analogous
#265D97 #282697 #612697
triadic
#282697 #972826 #269728
tetradic
#282697 #97265D #959726 #269761
square
#282697 #97265D #959726 #269761
split-complementary
#282697 #976126 #5D9726
monochromatic
#0E0D35 #1B1A66 #282697 #3532C8 #6260D7

Accessibility & contrast

On white

11.57
#282697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#282697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282697
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282697#FFFFFF#000000##FFFFFF
##2826971.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003395
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282697;
/* rgb */ color: rgb(40, 38, 151);
/* oklch */ color: oklch(36.1% 0.176 273.8);
Tailwind
colors: {
  custom: {
    50: '#7462b7',
    500: '#282697',
    950: '#000000',
  },
}
SCSS
$custom: #282697;
$custom-light: #7462b7;
$custom-dark: #000000;
JSON
{
  "hex": "#282697",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 241.062,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36066,
    "c": 0.17648,
    "h": 273.8
  },
  "luminance": 0.04072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #282697

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

Preview Lab → · Contrast checker → · Palette generator →

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