#283776#283776

#283776 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.1% C 0.109 H 270.1°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#283776
RGBrgb(40, 55, 118)
HSLhsl(228, 49%, 31%)
HSVhsv(228, 66%, 46%)
CMYKcmyk(66.1%, 53.4%, 0%, 53.7%)
CIE-LABlab(25.23, 15.79, -38.09)
CIE-LCHlch(25.23, 41.23, 292.51°)
OKLaboklab(36.13% 0.0001 -0.1092)
OKLCHoklch(36.13% 0.109 270.1)
XYZxyz(5.5102, 4.4910, 17.7125)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283776 #766728
analogous
#285E76 #283776 #402876
triadic
#283776 #762837 #377628
tetradic
#283776 #76285E #766728 #287640
square
#283776 #76285E #766728 #287640
split-complementary
#283776 #764028 #5E7628
monochromatic
#090C1B #192248 #283776 #374CA4 #5469C5

Accessibility & contrast

On white

11.06
#283776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#283776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283776
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283776#FFFFFF#000000##FFFFFF
##2837761.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133F78
Deuteranopia (green-blind)
#003875
Tritanopia (blue-blind)
#004651
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #283776;
/* rgb */ color: rgb(40, 55, 118);
/* oklch */ color: oklch(36.1% 0.109 270.1);
Tailwind
colors: {
  custom: {
    50: '#6b6d9e',
    500: '#283776',
    950: '#000000',
  },
}
SCSS
$custom: #283776;
$custom-light: #6b6d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#283776",
  "rgb": {
    "r": 40,
    "g": 55,
    "b": 118
  },
  "hsl": {
    "h": 228.462,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36134,
    "c": 0.10919,
    "h": 270.1
  },
  "luminance": 0.04491
}

Semantic roles & 50–950 ramp

primary
#283776
secondary
#A89752
accent
#BE4FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #283776

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

Preview Lab → · Contrast checker → · Palette generator →

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