#283789#283789

#283789 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.137 H 270.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#283789
RGBrgb(40, 55, 137)
HSLhsl(231, 55%, 35%)
HSVhsv(231, 71%, 54%)
CMYKcmyk(70.8%, 59.9%, 0%, 46.3%)
CIE-LABlab(26.70, 23.04, -47.64)
CIE-LCHlch(26.70, 52.92, 295.81°)
OKLaboklab(37.7% 0.0012 -0.1373)
OKLCHoklch(37.7% 0.137 270.5)
XYZxyz(6.7551, 4.9890, 24.2690)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283789 #897A28
analogous
#286789 #283789 #4A2889
triadic
#283789 #892837 #378928
tetradic
#283789 #892867 #897A28 #28894A
square
#283789 #892867 #897A28 #28894A
split-complementary
#283789 #894A28 #678928
monochromatic
#0C112A #1A245A #283789 #364AB8 #5C6ECF

Accessibility & contrast

On white

10.51
#283789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#283789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283789
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283789#FFFFFF#000000##FFFFFF
##2837891.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283789;
/* rgb */ color: rgb(40, 55, 137);
/* oklch */ color: oklch(37.7% 0.137 270.5);
Tailwind
colors: {
  custom: {
    50: '#6f6dac',
    500: '#283789',
    950: '#000000',
  },
}
SCSS
$custom: #283789;
$custom-light: #6f6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#283789",
  "rgb": {
    "r": 40,
    "g": 55,
    "b": 137
  },
  "hsl": {
    "h": 230.722,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37704,
    "c": 0.13728,
    "h": 270.5
  },
  "luminance": 0.0499
}

Semantic roles & 50–950 ramp

primary
#283789
secondary
#B5A658
accent
#C74ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283789

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

Preview Lab → · Contrast checker → · Palette generator →

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