#283876#283876

#283876 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.4% C 0.108 H 269.5°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#283876
RGBrgb(40, 56, 118)
HSLhsl(228, 49%, 31%)
HSVhsv(228, 66%, 46%)
CMYKcmyk(66.1%, 52.5%, 0%, 53.7%)
CIE-LABlab(25.52, 15.09, -37.62)
CIE-LCHlch(25.52, 40.53, 291.86°)
OKLaboklab(36.35% -0.0009 -0.1078)
OKLCHoklch(36.35% 0.108 269.5)
XYZxyz(5.5582, 4.5870, 17.7285)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283876 #766628
analogous
#285F76 #283876 #3F2876
triadic
#283876 #762838 #387628
tetradic
#283876 #76285F #766628 #28763F
square
#283876 #76285F #766628 #28763F
split-complementary
#283876 #763F28 #5F7628
monochromatic
#090D1B #192248 #283876 #374EA4 #546BC5

Accessibility & contrast

On white

10.95
#283876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#283876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283876
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283876#FFFFFF#000000##FFFFFF
##2838761.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154078
Deuteranopia (green-blind)
#023975
Tritanopia (blue-blind)
#004651
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #283876;
/* rgb */ color: rgb(40, 56, 118);
/* oklch */ color: oklch(36.4% 0.108 269.5);
Tailwind
colors: {
  custom: {
    50: '#6b6e9e',
    500: '#283876',
    950: '#000000',
  },
}
SCSS
$custom: #283876;
$custom-light: #6b6e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#283876",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 118
  },
  "hsl": {
    "h": 227.692,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36355,
    "c": 0.10779,
    "h": 269.5
  },
  "luminance": 0.04587
}

Semantic roles & 50–950 ramp

primary
#283876
secondary
#A89652
accent
#BD4FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #283876

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

Preview Lab → · Contrast checker → · Palette generator →

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