#283884#283884

#283884 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.129 H 270.1°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#283884
RGBrgb(40, 56, 132)
HSLhsl(230, 53%, 34%)
HSVhsv(230, 70%, 52%)
CMYKcmyk(69.7%, 57.6%, 0%, 48.2%)
CIE-LABlab(26.58, 20.45, -44.73)
CIE-LCHlch(26.58, 49.18, 294.57°)
OKLaboklab(37.48% 0.0002 -0.1287)
OKLCHoklch(37.48% 0.129 270.1)
XYZxyz(6.4527, 4.9448, 22.4397)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283884 #847428
analogous
#286684 #283884 #462884
triadic
#283884 #842838 #388428
tetradic
#283884 #842866 #847428 #288446
square
#283884 #842866 #847428 #288446
split-complementary
#283884 #844628 #668428
monochromatic
#0C1026 #1A2455 #283884 #364CB3 #5A6ECD

Accessibility & contrast

On white

10.56
#283884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#283884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283884
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283884#FFFFFF#000000##FFFFFF
##2838841.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283884;
/* rgb */ color: rgb(40, 56, 132);
/* oklch */ color: oklch(37.5% 0.129 270.1);
Tailwind
colors: {
  custom: {
    50: '#6e6ea8',
    500: '#283884',
    950: '#000000',
  },
}
SCSS
$custom: #283884;
$custom-light: #6e6ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#283884",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 132
  },
  "hsl": {
    "h": 229.565,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37483,
    "c": 0.12871,
    "h": 270.1
  },
  "luminance": 0.04945
}

Semantic roles & 50–950 ramp

primary
#283884
secondary
#B2A256
accent
#C34BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283884

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

Preview Lab → · Contrast checker → · Palette generator →

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