#283D86#283D86

#283D86 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.125 H 268.0°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#283D86
RGBrgb(40, 61, 134)
HSLhsl(227, 54%, 34%)
HSVhsv(227, 70%, 53%)
CMYKcmyk(70.1%, 54.5%, 0%, 47.5%)
CIE-LABlab(28.14, 17.78, -43.44)
CIE-LCHlch(28.14, 46.94, 292.25°)
OKLaboklab(38.71% -0.0043 -0.1249)
OKLCHoklch(38.71% 0.125 268)
XYZxyz(6.8454, 5.5092, 23.2523)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D86 #867128
analogous
#286C86 #283D86 #422886
triadic
#283D86 #86283D #3D8628
tetradic
#283D86 #86286C #867128 #288642
square
#283D86 #86286C #867128 #288642
split-complementary
#283D86 #864228 #6C8628
monochromatic
#0C1228 #1A2857 #283D86 #3652B5 #5B74CE

Accessibility & contrast

On white

9.99
#283D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#283D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D86
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D86#FFFFFF#000000##FFFFFF
##283D861.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4789
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #283d86;
/* rgb */ color: rgb(40, 61, 134);
/* oklch */ color: oklch(38.7% 0.125 268.0);
Tailwind
colors: {
  custom: {
    50: '#6e72aa',
    500: '#283d86',
    950: '#000000',
  },
}
SCSS
$custom: #283d86;
$custom-light: #6e72aa;
$custom-dark: #000000;
JSON
{
  "hex": "#283d86",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 134
  },
  "hsl": {
    "h": 226.596,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38707,
    "c": 0.12494,
    "h": 268
  },
  "luminance": 0.0551
}

Semantic roles & 50–950 ramp

primary
#283D86
secondary
#B39E57
accent
#BD4ADD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283D86

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

Preview Lab → · Contrast checker → · Palette generator →

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