#283F86#283F86

#283F86 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.122 H 267.1°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#283F86
RGBrgb(40, 63, 134)
HSLhsl(225, 54%, 34%)
HSVhsv(225, 70%, 53%)
CMYKcmyk(70.1%, 53%, 0%, 47.5%)
CIE-LABlab(28.71, 16.40, -42.52)
CIE-LCHlch(28.71, 45.57, 291.09°)
OKLaboklab(39.14% -0.0062 -0.1221)
OKLCHoklch(39.14% 0.122 267.1)
XYZxyz(6.9542, 5.7267, 23.2885)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F86 #866F28
analogous
#286E86 #283F86 #402886
triadic
#283F86 #86283F #3F8628
tetradic
#283F86 #86286E #866F28 #288640
square
#283F86 #86286E #866F28 #288640
split-complementary
#283F86 #864028 #6E8628
monochromatic
#0C1328 #1A2957 #283F86 #3655B5 #5B77CE

Accessibility & contrast

On white

9.79
#283F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#283F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F86
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F86#FFFFFF#000000##FFFFFF
##283F861.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134889
Deuteranopia (green-blind)
#004085
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #283f86;
/* rgb */ color: rgb(40, 63, 134);
/* oklch */ color: oklch(39.1% 0.122 267.1);
Tailwind
colors: {
  custom: {
    50: '#6e73aa',
    500: '#283f86',
    950: '#000000',
  },
}
SCSS
$custom: #283f86;
$custom-light: #6e73aa;
$custom-dark: #000000;
JSON
{
  "hex": "#283f86",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 134
  },
  "hsl": {
    "h": 225.319,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39141,
    "c": 0.12226,
    "h": 267.1
  },
  "luminance": 0.05727
}

Semantic roles & 50–950 ramp

primary
#283F86
secondary
#B39C57
accent
#B94ADD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #283F86

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

Preview Lab → · Contrast checker → · Palette generator →

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