#283992#283992

#283992 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.147 H 269.9°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#283992
RGBrgb(40, 57, 146)
HSLhsl(230, 57%, 36%)
HSVhsv(230, 73%, 57%)
CMYKcmyk(72.6%, 61%, 0%, 42.7%)
CIE-LABlab(27.99, 25.10, -51.11)
CIE-LCHlch(27.99, 56.94, 296.16°)
OKLaboklab(38.89% -0.0004 -0.1474)
OKLCHoklch(38.89% 0.147 269.9)
XYZxyz(7.5247, 5.4519, 27.8443)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283992 #928128
analogous
#286E92 #283992 #4C2892
triadic
#283992 #922839 #399228
tetradic
#283992 #92286E #928128 #28924C
square
#283992 #92286E #928128 #28924C
split-complementary
#283992 #924C28 #6E9228
monochromatic
#0E1332 #1B2662 #283992 #354CC2 #6173D4

Accessibility & contrast

On white

10.04
#283992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#283992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283992
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283992#FFFFFF#000000##FFFFFF
##2839921.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #283992;
/* rgb */ color: rgb(40, 57, 146);
/* oklch */ color: oklch(38.9% 0.147 269.9);
Tailwind
colors: {
  custom: {
    50: '#716fb3',
    500: '#283992',
    950: '#000000',
  },
}
SCSS
$custom: #283992;
$custom-light: #716fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#283992",
  "rgb": {
    "r": 40,
    "g": 57,
    "b": 146
  },
  "hsl": {
    "h": 230.377,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38891,
    "c": 0.14745,
    "h": 269.9
  },
  "luminance": 0.05453
}

Semantic roles & 50–950 ramp

primary
#283992
secondary
#B9AA5D
accent
#C848E0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283992

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

Preview Lab → · Contrast checker → · Palette generator →

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