#283792#283792

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

Color values

HEX#283792
RGBrgb(40, 55, 146)
HSLhsl(232, 57%, 36%)
HSVhsv(232, 73%, 57%)
CMYKcmyk(72.6%, 62.3%, 0%, 42.7%)
CIE-LABlab(27.46, 26.45, -51.97)
CIE-LCHlch(27.46, 58.31, 296.97°)
OKLaboklab(38.5% 0.0012 -0.15)
OKLCHoklch(38.5% 0.15 270.5)
XYZxyz(7.4278, 5.2581, 27.8120)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283792 #928328
analogous
#286C92 #283792 #4E2892
triadic
#283792 #922837 #379228
tetradic
#283792 #92286C #928328 #28924E
square
#283792 #92286C #928328 #28924E
split-complementary
#283792 #924E28 #6C9228
monochromatic
#0E1332 #1B2562 #283792 #3549C2 #6171D4

Accessibility & contrast

On white

10.23
#283792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#283792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283792
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283792#FFFFFF#000000##FFFFFF
##2837921.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283792;
/* rgb */ color: rgb(40, 55, 146);
/* oklch */ color: oklch(38.5% 0.150 270.5);
Tailwind
colors: {
  custom: {
    50: '#716db3',
    500: '#283792',
    950: '#000000',
  },
}
SCSS
$custom: #283792;
$custom-light: #716db3;
$custom-dark: #000000;
JSON
{
  "hex": "#283792",
  "rgb": {
    "r": 40,
    "g": 55,
    "b": 146
  },
  "hsl": {
    "h": 231.509,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.385,
    "c": 0.15,
    "h": 270.5
  },
  "luminance": 0.05259
}

Semantic roles & 50–950 ramp

primary
#283792
secondary
#B9AC5D
accent
#CB48E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283792

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

Preview Lab → · Contrast checker → · Palette generator →

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