#283883#283883

#283883 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.127 H 270.1°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#283883
RGBrgb(40, 56, 131)
HSLhsl(229, 53%, 34%)
HSVhsv(229, 69%, 51%)
CMYKcmyk(69.5%, 57.3%, 0%, 48.6%)
CIE-LABlab(26.50, 20.07, -44.23)
CIE-LCHlch(26.50, 48.57, 294.40°)
OKLaboklab(37.4% 0.0001 -0.1272)
OKLCHoklch(37.4% 0.127 270.1)
XYZxyz(6.3846, 4.9176, 22.0810)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283883 #837328
analogous
#286583 #283883 #452883
triadic
#283883 #832838 #388328
tetradic
#283883 #832865 #837328 #288345
square
#283883 #832865 #837328 #288345
split-complementary
#283883 #834528 #658328
monochromatic
#0B1025 #1A2454 #283883 #364CB2 #596DCC

Accessibility & contrast

On white

10.59
#283883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#283883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283883
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283883#FFFFFF#000000##FFFFFF
##2838831.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#004A57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283883;
/* rgb */ color: rgb(40, 56, 131);
/* oklch */ color: oklch(37.4% 0.127 270.1);
Tailwind
colors: {
  custom: {
    50: '#6e6ea8',
    500: '#283883',
    950: '#000000',
  },
}
SCSS
$custom: #283883;
$custom-light: #6e6ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#283883",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 131
  },
  "hsl": {
    "h": 229.451,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.374,
    "c": 0.12724,
    "h": 270.1
  },
  "luminance": 0.04918
}

Semantic roles & 50–950 ramp

primary
#283883
secondary
#B1A155
accent
#C34BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283883

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

Preview Lab → · Contrast checker → · Palette generator →

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