#282863#282863

#282863 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.4% C 0.102 H 278.8°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#282863
RGBrgb(40, 40, 99)
HSLhsl(240, 42%, 27%)
HSVhsv(240, 60%, 39%)
CMYKcmyk(59.6%, 59.6%, 0%, 61.2%)
CIE-LABlab(19.51, 19.17, -35.06)
CIE-LCHlch(19.51, 39.96, 298.66°)
OKLaboklab(31.38% 0.0156 -0.1005)
OKLCHoklch(31.38% 0.102 278.8)
XYZxyz(3.8853, 2.8693, 12.1511)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282863 #636328
analogous
#284663 #282863 #462863
triadic
#282863 #632828 #286328
tetradic
#282863 #632846 #636328 #286346
square
#282863 #632846 #636328 #286346
split-complementary
#282863 #634628 #466328
monochromatic
#090916 #161637 #282863 #3A3A8F #4E4EB7

Accessibility & contrast

On white

13.34
#282863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#282863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282863
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282863#FFFFFF#000000##FFFFFF
##2828631.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003265
Deuteranopia (green-blind)
#002D62
Tritanopia (blue-blind)
#093641
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #282863;
/* rgb */ color: rgb(40, 40, 99);
/* oklch */ color: oklch(31.4% 0.102 278.8);
Tailwind
colors: {
  custom: {
    50: '#686290',
    500: '#282863',
    950: '#000000',
  },
}
SCSS
$custom: #282863;
$custom-light: #686290;
$custom-dark: #000000;
JSON
{
  "hex": "#282863",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 99
  },
  "hsl": {
    "h": 240,
    "s": 42.446,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31383,
    "c": 0.10166,
    "h": 278.8
  },
  "luminance": 0.0287
}

Semantic roles & 50–950 ramp

primary
#282863
secondary
#969651
accent
#D256D2
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #282863

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

Preview Lab → · Contrast checker → · Palette generator →

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