#283891#283891

#283891 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.147 H 270.2°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#283891
RGBrgb(40, 56, 145)
HSLhsl(231, 57%, 36%)
HSVhsv(231, 72%, 57%)
CMYKcmyk(72.4%, 61.4%, 0%, 43.1%)
CIE-LABlab(27.64, 25.40, -51.06)
CIE-LCHlch(27.64, 57.03, 296.44°)
OKLaboklab(38.61% 0.0004 -0.1473)
OKLCHoklch(38.61% 0.147 270.2)
XYZxyz(7.3983, 5.3231, 27.4201)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283891 #918128
analogous
#286D91 #283891 #4D2891
triadic
#283891 #912838 #389128
tetradic
#283891 #91286D #918128 #28914D
square
#283891 #91286D #918128 #28914D
split-complementary
#283891 #914D28 #6D9128
monochromatic
#0E1331 #1B2561 #283891 #354BC1 #6072D3

Accessibility & contrast

On white

10.17
#283891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#283891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283891
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283891#FFFFFF#000000##FFFFFF
##2838911.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#003D8F
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #283891;
/* rgb */ color: rgb(40, 56, 145);
/* oklch */ color: oklch(38.6% 0.147 270.2);
Tailwind
colors: {
  custom: {
    50: '#716eb2',
    500: '#283891',
    950: '#000000',
  },
}
SCSS
$custom: #283891;
$custom-light: #716eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#283891",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 145
  },
  "hsl": {
    "h": 230.857,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38605,
    "c": 0.14733,
    "h": 270.2
  },
  "luminance": 0.05324
}

Semantic roles & 50–950 ramp

primary
#283891
secondary
#B9AB5C
accent
#C948E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283891

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

Preview Lab → · Contrast checker → · Palette generator →

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