#283B96#283B96

#283B96 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.150 H 269.3°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#283B96
RGBrgb(40, 59, 150)
HSLhsl(230, 58%, 37%)
HSVhsv(230, 73%, 59%)
CMYKcmyk(73.3%, 60.7%, 0%, 41.2%)
CIE-LABlab(28.85, 25.27, -52.15)
CIE-LCHlch(28.85, 57.95, 295.85°)
OKLaboklab(39.64% -0.0019 -0.1505)
OKLCHoklch(39.64% 0.151 269.3)
XYZxyz(7.9422, 5.7802, 29.5454)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B96 #968328
analogous
#287296 #283B96 #4C2896
triadic
#283B96 #96283B #3B9628
tetradic
#283B96 #962872 #968328 #28964C
square
#283B96 #962872 #968328 #28964C
split-complementary
#283B96 #964C28 #729628
monochromatic
#0E1535 #1B2866 #283B96 #354EC6 #6377D5

Accessibility & contrast

On white

9.74
#283B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#283B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B96
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B96#FFFFFF#000000##FFFFFF
##283B961.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #283b96;
/* rgb */ color: rgb(40, 59, 150);
/* oklch */ color: oklch(39.6% 0.150 269.3);
Tailwind
colors: {
  custom: {
    50: '#7270b6',
    500: '#283b96',
    950: '#000000',
  },
}
SCSS
$custom: #283b96;
$custom-light: #7270b6;
$custom-dark: #000000;
JSON
{
  "hex": "#283b96",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 150
  },
  "hsl": {
    "h": 229.636,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39639,
    "c": 0.1505,
    "h": 269.3
  },
  "luminance": 0.05781
}

Semantic roles & 50–950 ramp

primary
#283B96
secondary
#BBAB5F
accent
#C647E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283B96

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

Preview Lab → · Contrast checker → · Palette generator →

#283B96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva