#283676#283676

#283676 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.9% C 0.111 H 270.6°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#283676
RGBrgb(40, 54, 118)
HSLhsl(229, 49%, 31%)
HSVhsv(229, 66%, 46%)
CMYKcmyk(66.1%, 54.2%, 0%, 53.7%)
CIE-LABlab(24.94, 16.49, -38.56)
CIE-LCHlch(24.94, 41.93, 293.15°)
OKLaboklab(35.92% 0.0012 -0.1106)
OKLCHoklch(35.92% 0.111 270.6)
XYZxyz(5.4632, 4.3970, 17.6968)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283676 #766828
analogous
#285D76 #283676 #412876
triadic
#283676 #762836 #367628
tetradic
#283676 #76285D #766828 #287641
square
#283676 #76285D #766828 #287641
split-complementary
#283676 #764128 #5D7628
monochromatic
#090C1B #192148 #283676 #374BA4 #5468C5

Accessibility & contrast

On white

11.17
#283676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#283676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283676
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283676#FFFFFF#000000##FFFFFF
##2836761.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3F78
Deuteranopia (green-blind)
#003875
Tritanopia (blue-blind)
#004550
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #283676;
/* rgb */ color: rgb(40, 54, 118);
/* oklch */ color: oklch(35.9% 0.111 270.6);
Tailwind
colors: {
  custom: {
    50: '#6b6c9e',
    500: '#283676',
    950: '#000000',
  },
}
SCSS
$custom: #283676;
$custom-light: #6b6c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#283676",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 118
  },
  "hsl": {
    "h": 229.231,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35915,
    "c": 0.11059,
    "h": 270.6
  },
  "luminance": 0.04397
}

Semantic roles & 50–950 ramp

primary
#283676
secondary
#A89952
accent
#C04FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #283676

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

Preview Lab → · Contrast checker → · Palette generator →

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