#283390#283390

#283390 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.152 H 271.6°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#283390
RGBrgb(40, 51, 144)
HSLhsl(234, 57%, 36%)
HSVhsv(234, 72%, 56%)
CMYKcmyk(72.2%, 64.6%, 0%, 43.5%)
CIE-LABlab(26.25, 28.38, -52.71)
CIE-LCHlch(26.25, 59.87, 298.30°)
OKLaboklab(37.56% 0.0043 -0.1522)
OKLCHoklch(37.56% 0.152 271.6)
XYZxyz(7.0912, 4.8317, 26.9390)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283390 #908528
analogous
#286790 #283390 #512890
triadic
#283390 #902833 #339028
tetradic
#283390 #902867 #908528 #289051
square
#283390 #902867 #908528 #289051
split-complementary
#283390 #905128 #679028
monochromatic
#0D1130 #1B2260 #283390 #3544C0 #606CD3

Accessibility & contrast

On white

10.68
#283390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#283390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283390
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283390#FFFFFF#000000##FFFFFF
##2833901.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283390;
/* rgb */ color: rgb(40, 51, 144);
/* oklch */ color: oklch(37.6% 0.152 271.6);
Tailwind
colors: {
  custom: {
    50: '#716ab1',
    500: '#283390',
    950: '#000000',
  },
}
SCSS
$custom: #283390;
$custom-light: #716ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#283390",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 144
  },
  "hsl": {
    "h": 233.654,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37555,
    "c": 0.15227,
    "h": 271.6
  },
  "luminance": 0.04832
}

Semantic roles & 50–950 ramp

primary
#283390
secondary
#B8AE5C
accent
#D048E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283390

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

Preview Lab → · Contrast checker → · Palette generator →

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