#283879#283879

#283879 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.6% C 0.112 H 269.7°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#283879
RGBrgb(40, 56, 121)
HSLhsl(228, 50%, 32%)
HSVhsv(228, 67%, 47%)
CMYKcmyk(66.9%, 53.7%, 0%, 52.5%)
CIE-LABlab(25.74, 16.24, -39.17)
CIE-LCHlch(25.74, 42.40, 292.52°)
OKLaboklab(36.59% -0.0006 -0.1123)
OKLCHoklch(36.59% 0.112 269.7)
XYZxyz(5.7393, 4.6594, 18.6824)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283879 #796928
analogous
#286179 #283879 #412879
triadic
#283879 #792838 #387928
tetradic
#283879 #792861 #796928 #287941
square
#283879 #792861 #796928 #287941
split-complementary
#283879 #794128 #617928
monochromatic
#0A0D1D #19234B #283879 #374DA7 #556BC7

Accessibility & contrast

On white

10.87
#283879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#283879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283879
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283879#FFFFFF#000000##FFFFFF
##2838791.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11417B
Deuteranopia (green-blind)
#003978
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #283879;
/* rgb */ color: rgb(40, 56, 121);
/* oklch */ color: oklch(36.6% 0.112 269.7);
Tailwind
colors: {
  custom: {
    50: '#6b6ea0',
    500: '#283879',
    950: '#000000',
  },
}
SCSS
$custom: #283879;
$custom-light: #6b6ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#283879",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 121
  },
  "hsl": {
    "h": 228.148,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36589,
    "c": 0.11235,
    "h": 269.7
  },
  "luminance": 0.0466
}

Semantic roles & 50–950 ramp

primary
#283879
secondary
#AB9952
accent
#BE4EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #283879

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

Preview Lab → · Contrast checker → · Palette generator →

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