#283299#283299

#283299 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.166 H 271.5°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#283299
RGBrgb(40, 50, 153)
HSLhsl(235, 59%, 38%)
HSVhsv(235, 74%, 60%)
CMYKcmyk(73.9%, 67.3%, 0%, 40%)
CIE-LABlab(26.82, 32.36, -57.30)
CIE-LCHlch(26.82, 65.81, 299.45°)
OKLaboklab(38.23% 0.0044 -0.1657)
OKLCHoklch(38.23% 0.166 271.5)
XYZxyz(7.7635, 5.0314, 30.6928)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283299 #998F28
analogous
#286B99 #283299 #562899
triadic
#283299 #992832 #329928
tetradic
#283299 #99286B #998F28 #289956
square
#283299 #99286B #998F28 #289956
split-complementary
#283299 #995628 #6B9928
monochromatic
#0F1238 #1B2268 #283299 #3542CA #656FD7

Accessibility & contrast

On white

10.47
#283299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#283299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283299
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283299#FFFFFF#000000##FFFFFF
##2832991.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283299;
/* rgb */ color: rgb(40, 50, 153);
/* oklch */ color: oklch(38.2% 0.166 271.5);
Tailwind
colors: {
  custom: {
    50: '#736ab8',
    500: '#283299',
    950: '#000000',
  },
}
SCSS
$custom: #283299;
$custom-light: #736ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#283299",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 234.69,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38228,
    "c": 0.16572,
    "h": 271.5
  },
  "luminance": 0.05032
}

Semantic roles & 50–950 ramp

primary
#283299
secondary
#BDB460
accent
#D446E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283299

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

Preview Lab → · Contrast checker → · Palette generator →

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