#283689#283689

#283689 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.139 H 270.9°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#283689
RGBrgb(40, 54, 137)
HSLhsl(231, 55%, 35%)
HSVhsv(231, 71%, 54%)
CMYKcmyk(70.8%, 60.6%, 0%, 46.3%)
CIE-LABlab(26.43, 23.73, -48.08)
CIE-LCHlch(26.43, 53.61, 296.27°)
OKLaboklab(37.5% 0.0021 -0.1386)
OKLCHoklch(37.5% 0.139 270.9)
XYZxyz(6.7081, 4.8949, 24.2534)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283689 #897B28
analogous
#286789 #283689 #4A2889
triadic
#283689 #892836 #368928
tetradic
#283689 #892867 #897B28 #28894A
square
#283689 #892867 #897B28 #28894A
split-complementary
#283689 #894A28 #678928
monochromatic
#0C112A #1A235A #283689 #3649B8 #5C6DCF

Accessibility & contrast

On white

10.61
#283689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#283689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283689
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283689#FFFFFF#000000##FFFFFF
##2836891.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283689;
/* rgb */ color: rgb(40, 54, 137);
/* oklch */ color: oklch(37.5% 0.139 270.9);
Tailwind
colors: {
  custom: {
    50: '#6f6cac',
    500: '#283689',
    950: '#000000',
  },
}
SCSS
$custom: #283689;
$custom-light: #6f6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#283689",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 137
  },
  "hsl": {
    "h": 231.34,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37503,
    "c": 0.1386,
    "h": 270.9
  },
  "luminance": 0.04896
}

Semantic roles & 50–950 ramp

primary
#283689
secondary
#B5A758
accent
#C94ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283689

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

Preview Lab → · Contrast checker → · Palette generator →

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