#283793#283793

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

Color values

HEX#283793
RGBrgb(40, 55, 147)
HSLhsl(232, 57%, 37%)
HSVhsv(232, 73%, 58%)
CMYKcmyk(72.8%, 62.6%, 0%, 42.4%)
CIE-LABlab(27.54, 26.83, -52.45)
CIE-LCHlch(27.54, 58.91, 297.09°)
OKLaboklab(38.59% 0.0012 -0.1514)
OKLCHoklch(38.59% 0.151 270.4)
XYZxyz(7.5059, 5.2893, 28.2235)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283793 #938428
analogous
#286D93 #283793 #4F2893
triadic
#283793 #932837 #379328
tetradic
#283793 #93286D #938428 #28934F
square
#283793 #93286D #938428 #28934F
split-complementary
#283793 #934F28 #6D9328
monochromatic
#0E1333 #1B2563 #283793 #3549C3 #6171D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283793#FFFFFF#000000##FFFFFF
##2837931.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)
#004696
Deuteranopia (green-blind)
#003C91
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #283793;
/* rgb */ color: rgb(40, 55, 147);
/* oklch */ color: oklch(38.6% 0.151 270.4);
Tailwind
colors: {
  custom: {
    50: '#726db4',
    500: '#283793',
    950: '#000000',
  },
}
SCSS
$custom: #283793;
$custom-light: #726db4;
$custom-dark: #000000;
JSON
{
  "hex": "#283793",
  "rgb": {
    "r": 40,
    "g": 55,
    "b": 147
  },
  "hsl": {
    "h": 231.589,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3859,
    "c": 0.15139,
    "h": 270.4
  },
  "luminance": 0.0529
}

Semantic roles & 50–950 ramp

primary
#283793
secondary
#BAAD5D
accent
#CB47E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283793

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

Preview Lab → · Contrast checker → · Palette generator →

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