#283699#283699

#283699 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.161 H 270.6°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#283699
RGBrgb(40, 54, 153)
HSLhsl(233, 59%, 38%)
HSVhsv(233, 74%, 60%)
CMYKcmyk(73.9%, 64.7%, 0%, 40%)
CIE-LABlab(27.81, 29.74, -55.68)
CIE-LCHlch(27.81, 63.12, 298.11°)
OKLaboklab(38.95% 0.0017 -0.1609)
OKLCHoklch(38.95% 0.161 270.6)
XYZxyz(7.9420, 5.3885, 30.7523)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283699 #998B28
analogous
#286F99 #283699 #522899
triadic
#283699 #992836 #369928
tetradic
#283699 #99286F #998B28 #289952
square
#283699 #99286F #998B28 #289952
split-complementary
#283699 #995228 #6F9928
monochromatic
#0F1438 #1B2568 #283699 #3547CA #6573D7

Accessibility & contrast

On white

10.11
#283699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#283699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283699
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283699#FFFFFF#000000##FFFFFF
##2836991.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #283699;
/* rgb */ color: rgb(40, 54, 153);
/* oklch */ color: oklch(39.0% 0.161 270.6);
Tailwind
colors: {
  custom: {
    50: '#736db8',
    500: '#283699',
    950: '#000000',
  },
}
SCSS
$custom: #283699;
$custom-light: #736db8;
$custom-dark: #000000;
JSON
{
  "hex": "#283699",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 153
  },
  "hsl": {
    "h": 232.566,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38953,
    "c": 0.1609,
    "h": 270.6
  },
  "luminance": 0.05389
}

Semantic roles & 50–950 ramp

primary
#283699
secondary
#BDB160
accent
#CE46E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283699

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

Preview Lab → · Contrast checker → · Palette generator →

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