#283B87#283B87

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

Color values

HEX#283B87
RGBrgb(40, 59, 135)
HSLhsl(228, 54%, 34%)
HSVhsv(228, 70%, 53%)
CMYKcmyk(70.4%, 56.3%, 0%, 47.1%)
CIE-LABlab(27.65, 19.54, -44.86)
CIE-LCHlch(27.65, 48.93, 293.53°)
OKLaboklab(38.36% -0.0024 -0.129)
OKLCHoklch(38.36% 0.129 268.9)
XYZxyz(6.8107, 5.3277, 23.5864)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B87 #877428
analogous
#286B87 #283B87 #452887
triadic
#283B87 #87283B #3B8728
tetradic
#283B87 #87286B #877428 #288745
square
#283B87 #87286B #877428 #288745
split-complementary
#283B87 #874528 #6B8728
monochromatic
#0C1229 #1A2658 #283B87 #3650B6 #5B72CE

Accessibility & contrast

On white

10.17
#283B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#283B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B87
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B87#FFFFFF#000000##FFFFFF
##283B871.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #283b87;
/* rgb */ color: rgb(40, 59, 135);
/* oklch */ color: oklch(38.4% 0.129 268.9);
Tailwind
colors: {
  custom: {
    50: '#6e70ab',
    500: '#283b87',
    950: '#000000',
  },
}
SCSS
$custom: #283b87;
$custom-light: #6e70ab;
$custom-dark: #000000;
JSON
{
  "hex": "#283b87",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 135
  },
  "hsl": {
    "h": 228,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38362,
    "c": 0.12907,
    "h": 268.9
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

primary
#283B87
secondary
#B4A157
accent
#C04ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283B87

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

Preview Lab → · Contrast checker → · Palette generator →

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