#283687#283687

#283687 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.136 H 270.9°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#283687
RGBrgb(40, 54, 135)
HSLhsl(231, 54%, 34%)
HSVhsv(231, 70%, 53%)
CMYKcmyk(70.4%, 60%, 0%, 47.1%)
CIE-LABlab(26.27, 22.97, -47.10)
CIE-LCHlch(26.27, 52.40, 295.99°)
OKLaboklab(37.33% 0.0021 -0.1357)
OKLCHoklch(37.33% 0.136 270.9)
XYZxyz(6.5659, 4.8381, 23.5048)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283687 #877928
analogous
#286687 #283687 #4A2887
triadic
#283687 #872836 #368728
tetradic
#283687 #872866 #877928 #28874A
square
#283687 #872866 #877928 #28874A
split-complementary
#283687 #874A28 #668728
monochromatic
#0C1029 #1A2358 #283687 #3649B6 #5B6CCE

Accessibility & contrast

On white

10.67
#283687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#283687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283687
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283687#FFFFFF#000000##FFFFFF
##2836871.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283687;
/* rgb */ color: rgb(40, 54, 135);
/* oklch */ color: oklch(37.3% 0.136 270.9);
Tailwind
colors: {
  custom: {
    50: '#6f6cab',
    500: '#283687',
    950: '#000000',
  },
}
SCSS
$custom: #283687;
$custom-light: #6f6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#283687",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 135
  },
  "hsl": {
    "h": 231.158,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37329,
    "c": 0.13573,
    "h": 270.9
  },
  "luminance": 0.04839
}

Semantic roles & 50–950 ramp

primary
#283687
secondary
#B4A657
accent
#C84ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283687

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

Preview Lab → · Contrast checker → · Palette generator →

#283687 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva