#283C86#283C86

#283C86 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.126 H 268.5°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#283C86
RGBrgb(40, 60, 134)
HSLhsl(227, 54%, 34%)
HSVhsv(227, 70%, 53%)
CMYKcmyk(70.1%, 55.2%, 0%, 47.5%)
CIE-LABlab(27.85, 18.46, -43.90)
CIE-LCHlch(27.85, 47.63, 292.81°)
OKLaboklab(38.49% -0.0034 -0.1262)
OKLCHoklch(38.49% 0.126 268.5)
XYZxyz(6.7925, 5.4034, 23.2346)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C86 #867228
analogous
#286B86 #283C86 #432886
triadic
#283C86 #86283C #3C8628
tetradic
#283C86 #86286B #867228 #288643
square
#283C86 #86286B #867228 #288643
split-complementary
#283C86 #864328 #6B8628
monochromatic
#0C1228 #1A2757 #283C86 #3651B5 #5B73CE

Accessibility & contrast

On white

10.09
#283C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#283C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C86
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C86#FFFFFF#000000##FFFFFF
##283C861.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283c86;
/* rgb */ color: rgb(40, 60, 134);
/* oklch */ color: oklch(38.5% 0.126 268.5);
Tailwind
colors: {
  custom: {
    50: '#6e71aa',
    500: '#283c86',
    950: '#000000',
  },
}
SCSS
$custom: #283c86;
$custom-light: #6e71aa;
$custom-dark: #000000;
JSON
{
  "hex": "#283c86",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 134
  },
  "hsl": {
    "h": 227.234,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38492,
    "c": 0.12627,
    "h": 268.5
  },
  "luminance": 0.05404
}

Semantic roles & 50–950 ramp

primary
#283C86
secondary
#B39F57
accent
#BE4ADD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283C86

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

Preview Lab → · Contrast checker → · Palette generator →

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