#283391#283391

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

Color values

HEX#283391
RGBrgb(40, 51, 145)
HSLhsl(234, 57%, 36%)
HSVhsv(234, 72%, 57%)
CMYKcmyk(72.4%, 64.8%, 0%, 43.1%)
CIE-LABlab(26.34, 28.75, -53.18)
CIE-LCHlch(26.34, 60.46, 298.40°)
OKLaboklab(37.65% 0.0043 -0.1536)
OKLCHoklch(37.65% 0.154 271.6)
XYZxyz(7.1680, 4.8624, 27.3433)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283391 #918628
analogous
#286891 #283391 #522891
triadic
#283391 #912833 #339128
tetradic
#283391 #912868 #918628 #289152
square
#283391 #912868 #918628 #289152
split-complementary
#283391 #915228 #689128
monochromatic
#0E1131 #1B2261 #283391 #3544C1 #606CD3

Accessibility & contrast

On white

10.65
#283391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283391
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283391#FFFFFF#000000##FFFFFF
##2833911.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#003A8F
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283391;
/* rgb */ color: rgb(40, 51, 145);
/* oklch */ color: oklch(37.6% 0.154 271.6);
Tailwind
colors: {
  custom: {
    50: '#716ab2',
    500: '#283391',
    950: '#000000',
  },
}
SCSS
$custom: #283391;
$custom-light: #716ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#283391",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 145
  },
  "hsl": {
    "h": 233.714,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37648,
    "c": 0.15365,
    "h": 271.6
  },
  "luminance": 0.04863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #283391

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

Preview Lab → · Contrast checker → · Palette generator →

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