#283983#283983

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

Color values

HEX#283983
RGBrgb(40, 57, 131)
HSLhsl(229, 53%, 34%)
HSVhsv(229, 69%, 51%)
CMYKcmyk(69.5%, 56.5%, 0%, 48.6%)
CIE-LABlab(26.78, 19.38, -43.78)
CIE-LCHlch(26.78, 47.87, 293.88°)
OKLaboklab(37.61% -0.0008 -0.1259)
OKLCHoklch(37.61% 0.126 269.6)
XYZxyz(6.4335, 5.0155, 22.0974)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283983 #837228
analogous
#286683 #283983 #442883
triadic
#283983 #832839 #398328
tetradic
#283983 #832866 #837228 #288344
square
#283983 #832866 #837228 #288344
split-complementary
#283983 #834428 #668328
monochromatic
#0B1025 #1A2554 #283983 #364DB2 #596FCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283983#FFFFFF#000000##FFFFFF
##2839831.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)
#004486
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283983;
/* rgb */ color: rgb(40, 57, 131);
/* oklch */ color: oklch(37.6% 0.126 269.6);
Tailwind
colors: {
  custom: {
    50: '#6e6fa8',
    500: '#283983',
    950: '#000000',
  },
}
SCSS
$custom: #283983;
$custom-light: #6e6fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#283983",
  "rgb": {
    "r": 40,
    "g": 57,
    "b": 131
  },
  "hsl": {
    "h": 228.791,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3761,
    "c": 0.12589,
    "h": 269.6
  },
  "luminance": 0.05016
}

Semantic roles & 50–950 ramp

primary
#283983
secondary
#B1A055
accent
#C14BDD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283983

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

Preview Lab → · Contrast checker → · Palette generator →

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