#283890#283890

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

Color values

HEX#283890
RGBrgb(40, 56, 144)
HSLhsl(231, 57%, 36%)
HSVhsv(231, 72%, 56%)
CMYKcmyk(72.2%, 61.1%, 0%, 43.5%)
CIE-LABlab(27.55, 25.02, -50.59)
CIE-LCHlch(27.55, 56.44, 296.32°)
OKLaboklab(38.52% 0.0004 -0.1459)
OKLCHoklch(38.52% 0.146 270.2)
XYZxyz(7.3216, 5.2923, 27.0158)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283890 #908028
analogous
#286C90 #283890 #4C2890
triadic
#283890 #902838 #389028
tetradic
#283890 #90286C #908028 #28904C
square
#283890 #90286C #908028 #28904C
split-complementary
#283890 #904C28 #6C9028
monochromatic
#0D1330 #1B2560 #283890 #354BC0 #6071D3

Accessibility & contrast

On white

10.20
#283890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283890
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283890#FFFFFF#000000##FFFFFF
##2838901.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #283890;
/* rgb */ color: rgb(40, 56, 144);
/* oklch */ color: oklch(38.5% 0.146 270.2);
Tailwind
colors: {
  custom: {
    50: '#716eb1',
    500: '#283890',
    950: '#000000',
  },
}
SCSS
$custom: #283890;
$custom-light: #716eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#283890",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 144
  },
  "hsl": {
    "h": 230.769,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38517,
    "c": 0.14592,
    "h": 270.2
  },
  "luminance": 0.05293
}

Semantic roles & 50–950 ramp

primary
#283890
secondary
#B8AA5C
accent
#C848E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283890

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

Preview Lab → · Contrast checker → · Palette generator →

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