#283492#283492

#283492 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.154 H 271.3°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#283492
RGBrgb(40, 52, 146)
HSLhsl(233, 57%, 36%)
HSVhsv(233, 73%, 57%)
CMYKcmyk(72.6%, 64.4%, 0%, 42.7%)
CIE-LABlab(26.68, 28.46, -53.24)
CIE-LCHlch(26.68, 60.37, 298.13°)
OKLaboklab(37.93% 0.0035 -0.1537)
OKLCHoklch(37.93% 0.154 271.3)
XYZxyz(7.2896, 4.9817, 27.7659)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283492 #928628
analogous
#286992 #283492 #512892
triadic
#283492 #922834 #349228
tetradic
#283492 #922869 #928628 #289251
square
#283492 #922869 #928628 #289251
split-complementary
#283492 #925128 #699228
monochromatic
#0E1232 #1B2362 #283492 #3545C2 #616ED4

Accessibility & contrast

On white

10.52
#283492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#283492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283492
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283492#FFFFFF#000000##FFFFFF
##2834921.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283492;
/* rgb */ color: rgb(40, 52, 146);
/* oklch */ color: oklch(37.9% 0.154 271.3);
Tailwind
colors: {
  custom: {
    50: '#726bb3',
    500: '#283492',
    950: '#000000',
  },
}
SCSS
$custom: #283492;
$custom-light: #726bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#283492",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 146
  },
  "hsl": {
    "h": 233.208,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37928,
    "c": 0.15379,
    "h": 271.3
  },
  "luminance": 0.04982
}

Semantic roles & 50–950 ramp

primary
#283492
secondary
#B9AF5D
accent
#CF48E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283492

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

Preview Lab → · Contrast checker → · Palette generator →

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