#282685#282685

#282685 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.153 H 275.6°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#282685
RGBrgb(40, 38, 133)
HSLhsl(241, 56%, 34%)
HSVhsv(241, 71%, 52%)
CMYKcmyk(69.9%, 71.4%, 0%, 47.8%)
CIE-LABlab(22.05, 32.83, -52.74)
CIE-LCHlch(22.05, 62.12, 301.90°)
OKLaboklab(34.19% 0.0148 -0.1524)
OKLCHoklch(34.19% 0.153 275.6)
XYZxyz(5.8004, 3.5303, 22.5615)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282685 #838526
analogous
#265385 #282685 #572685
triadic
#282685 #852826 #268528
tetradic
#282685 #852653 #838526 #268557
square
#282685 #852653 #838526 #268557
split-complementary
#282685 #855726 #538526
monochromatic
#0B0B26 #1A1855 #282685 #3634B5 #5957CF

Accessibility & contrast

On white

12.31
#282685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#282685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282685
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282685#FFFFFF#000000##FFFFFF
##2826851.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282685;
/* rgb */ color: rgb(40, 38, 133);
/* oklch */ color: oklch(34.2% 0.153 275.6);
Tailwind
colors: {
  custom: {
    50: '#7061a9',
    500: '#282685',
    950: '#000000',
  },
}
SCSS
$custom: #282685;
$custom-light: #7061a9;
$custom-dark: #000000;
JSON
{
  "hex": "#282685",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 133
  },
  "hsl": {
    "h": 241.263,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34185,
    "c": 0.15307,
    "h": 275.6
  },
  "luminance": 0.03531
}

Semantic roles & 50–950 ramp

primary
#282685
secondary
#B1B353
accent
#DF49DC
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #282685

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

Preview Lab → · Contrast checker → · Palette generator →

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