#283C90#283C90

#283C90 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.141 H 268.8°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#283C90
RGBrgb(40, 60, 144)
HSLhsl(228, 57%, 36%)
HSVhsv(228, 72%, 56%)
CMYKcmyk(72.2%, 58.3%, 0%, 43.5%)
CIE-LABlab(28.63, 22.30, -48.83)
CIE-LCHlch(28.63, 53.68, 294.55°)
OKLaboklab(39.32% -0.0028 -0.1407)
OKLCHoklch(39.32% 0.141 268.8)
XYZxyz(7.5232, 5.6957, 27.0830)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C90 #907C28
analogous
#287090 #283C90 #482890
triadic
#283C90 #90283C #3C9028
tetradic
#283C90 #902870 #907C28 #289048
square
#283C90 #902870 #907C28 #289048
split-complementary
#283C90 #904828 #709028
monochromatic
#0D1430 #1B2860 #283C90 #3550C0 #6076D3

Accessibility & contrast

On white

9.82
#283C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#283C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C90
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C90#FFFFFF#000000##FFFFFF
##283C901.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #283c90;
/* rgb */ color: rgb(40, 60, 144);
/* oklch */ color: oklch(39.3% 0.141 268.8);
Tailwind
colors: {
  custom: {
    50: '#7071b1',
    500: '#283c90',
    950: '#000000',
  },
}
SCSS
$custom: #283c90;
$custom-light: #7071b1;
$custom-dark: #000000;
JSON
{
  "hex": "#283c90",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 144
  },
  "hsl": {
    "h": 228.462,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39321,
    "c": 0.14074,
    "h": 268.8
  },
  "luminance": 0.05696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #283C90

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

Preview Lab → · Contrast checker → · Palette generator →

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