#283799#283799

#283799 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.160 H 270.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#283799
RGBrgb(40, 55, 153)
HSLhsl(232, 59%, 38%)
HSVhsv(232, 74%, 60%)
CMYKcmyk(73.9%, 64.1%, 0%, 40%)
CIE-LABlab(28.07, 29.08, -55.26)
CIE-LCHlch(28.07, 62.45, 297.75°)
OKLaboklab(39.14% 0.001 -0.1597)
OKLCHoklch(39.14% 0.16 270.4)
XYZxyz(7.9891, 5.4826, 30.7680)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283799 #998A28
analogous
#287099 #283799 #512899
triadic
#283799 #992837 #379928
tetradic
#283799 #992870 #998A28 #289951
square
#283799 #992870 #998A28 #289951
split-complementary
#283799 #995128 #709928
monochromatic
#0F1438 #1B2668 #283799 #3548CA #6574D7

Accessibility & contrast

On white

10.02
#283799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#283799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283799
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283799#FFFFFF#000000##FFFFFF
##2837991.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283799;
/* rgb */ color: rgb(40, 55, 153);
/* oklch */ color: oklch(39.1% 0.160 270.4);
Tailwind
colors: {
  custom: {
    50: '#736db8',
    500: '#283799',
    950: '#000000',
  },
}
SCSS
$custom: #283799;
$custom-light: #736db8;
$custom-dark: #000000;
JSON
{
  "hex": "#283799",
  "rgb": {
    "r": 40,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 232.035,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39139,
    "c": 0.15966,
    "h": 270.4
  },
  "luminance": 0.05483
}

Semantic roles & 50–950 ramp

primary
#283799
secondary
#BDB060
accent
#CD46E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283799

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

Preview Lab → · Contrast checker → · Palette generator →

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