#283B86#283B86

#283B86 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.128 H 268.9°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#283B86
RGBrgb(40, 59, 134)
HSLhsl(228, 54%, 34%)
HSVhsv(228, 70%, 53%)
CMYKcmyk(70.1%, 56%, 0%, 47.5%)
CIE-LABlab(27.57, 19.15, -44.36)
CIE-LCHlch(27.57, 48.32, 293.35°)
OKLaboklab(38.28% -0.0025 -0.1276)
OKLCHoklch(38.28% 0.128 268.9)
XYZxyz(6.7406, 5.2996, 23.2173)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B86 #867328
analogous
#286A86 #283B86 #442886
triadic
#283B86 #86283B #3B8628
tetradic
#283B86 #86286A #867328 #288644
square
#283B86 #86286A #867328 #288644
split-complementary
#283B86 #864428 #6A8628
monochromatic
#0C1128 #1A2657 #283B86 #3650B5 #5B72CE

Accessibility & contrast

On white

10.19
#283B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#283B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B86
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B86#FFFFFF#000000##FFFFFF
##283B861.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014689
Deuteranopia (green-blind)
#003D84
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #283b86;
/* rgb */ color: rgb(40, 59, 134);
/* oklch */ color: oklch(38.3% 0.128 268.9);
Tailwind
colors: {
  custom: {
    50: '#6e70aa',
    500: '#283b86',
    950: '#000000',
  },
}
SCSS
$custom: #283b86;
$custom-light: #6e70aa;
$custom-dark: #000000;
JSON
{
  "hex": "#283b86",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 134
  },
  "hsl": {
    "h": 227.872,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3828,
    "c": 0.12761,
    "h": 268.9
  },
  "luminance": 0.053
}

Semantic roles & 50–950 ramp

primary
#283B86
secondary
#B3A057
accent
#C04ADD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283B86

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

Preview Lab → · Contrast checker → · Palette generator →

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