#283396#283396

#283396 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.160 H 271.4°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#283396
RGBrgb(40, 51, 150)
HSLhsl(234, 58%, 37%)
HSVhsv(234, 73%, 59%)
CMYKcmyk(73.3%, 66%, 0%, 41.2%)
CIE-LABlab(26.79, 30.60, -55.52)
CIE-LCHlch(26.79, 63.39, 298.86°)
OKLaboklab(38.12% 0.0039 -0.1604)
OKLCHoklch(38.12% 0.16 271.4)
XYZxyz(7.5621, 5.0200, 29.4187)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283396 #968B28
analogous
#286A96 #283396 #542896
triadic
#283396 #962833 #339628
tetradic
#283396 #96286A #968B28 #289654
square
#283396 #96286A #968B28 #289654
split-complementary
#283396 #965428 #6A9628
monochromatic
#0E1235 #1B2366 #283396 #3543C6 #636ED5

Accessibility & contrast

On white

10.48
#283396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283396
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283396#FFFFFF#000000##FFFFFF
##2833961.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283396;
/* rgb */ color: rgb(40, 51, 150);
/* oklch */ color: oklch(38.1% 0.160 271.4);
Tailwind
colors: {
  custom: {
    50: '#736ab6',
    500: '#283396',
    950: '#000000',
  },
}
SCSS
$custom: #283396;
$custom-light: #736ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#283396",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 150
  },
  "hsl": {
    "h": 234,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38119,
    "c": 0.16048,
    "h": 271.4
  },
  "luminance": 0.05021
}

Semantic roles & 50–950 ramp

primary
#283396
secondary
#BBB25F
accent
#D247E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283396

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

Preview Lab → · Contrast checker → · Palette generator →

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