#283D90#283D90

#283D90 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.139 H 268.5°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#283D90
RGBrgb(40, 61, 144)
HSLhsl(228, 57%, 36%)
HSVhsv(228, 72%, 56%)
CMYKcmyk(72.2%, 57.6%, 0%, 43.5%)
CIE-LABlab(28.91, 21.62, -48.38)
CIE-LCHlch(28.91, 52.99, 294.08°)
OKLaboklab(39.53% -0.0037 -0.1394)
OKLCHoklch(39.53% 0.139 268.5)
XYZxyz(7.5761, 5.8015, 27.1007)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D90 #907B28
analogous
#287190 #283D90 #472890
triadic
#283D90 #90283D #3D9028
tetradic
#283D90 #902871 #907B28 #289047
square
#283D90 #902871 #907B28 #289047
split-complementary
#283D90 #904728 #719028
monochromatic
#0D1430 #1B2960 #283D90 #3551C0 #6077D3

Accessibility & contrast

On white

9.72
#283D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#283D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D90
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D90#FFFFFF#000000##FFFFFF
##283D901.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #283d90;
/* rgb */ color: rgb(40, 61, 144);
/* oklch */ color: oklch(39.5% 0.139 268.5);
Tailwind
colors: {
  custom: {
    50: '#7072b1',
    500: '#283d90',
    950: '#000000',
  },
}
SCSS
$custom: #283d90;
$custom-light: #7072b1;
$custom-dark: #000000;
JSON
{
  "hex": "#283d90",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 144
  },
  "hsl": {
    "h": 227.885,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39527,
    "c": 0.13943,
    "h": 268.5
  },
  "luminance": 0.05802
}

Semantic roles & 50–950 ramp

primary
#283D90
secondary
#B8A65C
accent
#C148E0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283D90

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

Preview Lab → · Contrast checker → · Palette generator →

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