#283892#283892

#283892 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.149 H 270.2°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#283892
RGBrgb(40, 56, 146)
HSLhsl(231, 57%, 36%)
HSVhsv(231, 73%, 57%)
CMYKcmyk(72.6%, 61.6%, 0%, 42.7%)
CIE-LABlab(27.72, 25.78, -51.54)
CIE-LCHlch(27.72, 57.63, 296.57°)
OKLaboklab(38.69% 0.0004 -0.1487)
OKLCHoklch(38.69% 0.149 270.2)
XYZxyz(7.4758, 5.3540, 27.8280)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283892 #928228
analogous
#286D92 #283892 #4D2892
triadic
#283892 #922838 #389228
tetradic
#283892 #92286D #928228 #28924D
square
#283892 #92286D #928228 #28924D
split-complementary
#283892 #924D28 #6D9228
monochromatic
#0E1332 #1B2662 #283892 #354AC2 #6172D4

Accessibility & contrast

On white

10.14
#283892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#283892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283892
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283892#FFFFFF#000000##FFFFFF
##2838921.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283892;
/* rgb */ color: rgb(40, 56, 146);
/* oklch */ color: oklch(38.7% 0.149 270.2);
Tailwind
colors: {
  custom: {
    50: '#716eb3',
    500: '#283892',
    950: '#000000',
  },
}
SCSS
$custom: #283892;
$custom-light: #716eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#283892",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 146
  },
  "hsl": {
    "h": 230.943,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38694,
    "c": 0.14873,
    "h": 270.2
  },
  "luminance": 0.05355
}

Semantic roles & 50–950 ramp

primary
#283892
secondary
#B9AB5D
accent
#C948E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283892

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

Preview Lab → · Contrast checker → · Palette generator →

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