#283C92#283C92

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

Color values

HEX#283C92
RGBrgb(40, 60, 146)
HSLhsl(229, 57%, 36%)
HSVhsv(229, 73%, 57%)
CMYKcmyk(72.6%, 58.9%, 0%, 42.7%)
CIE-LABlab(28.79, 23.07, -49.80)
CIE-LCHlch(28.79, 54.88, 294.86°)
OKLaboklab(39.49% -0.0028 -0.1436)
OKLCHoklch(39.49% 0.144 268.9)
XYZxyz(7.6775, 5.7574, 27.8952)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C92 #927E28
analogous
#287192 #283C92 #492892
triadic
#283C92 #92283C #3C9228
tetradic
#283C92 #922871 #927E28 #289249
square
#283C92 #922871 #927E28 #289249
split-complementary
#283C92 #924928 #719228
monochromatic
#0E1532 #1B2862 #283C92 #3550C2 #6176D4

Accessibility & contrast

On white

9.76
#283C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#283C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C92
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C92#FFFFFF#000000##FFFFFF
##283C921.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #283c92;
/* rgb */ color: rgb(40, 60, 146);
/* oklch */ color: oklch(39.5% 0.144 268.9);
Tailwind
colors: {
  custom: {
    50: '#7171b3',
    500: '#283c92',
    950: '#000000',
  },
}
SCSS
$custom: #283c92;
$custom-light: #7171b3;
$custom-dark: #000000;
JSON
{
  "hex": "#283c92",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 146
  },
  "hsl": {
    "h": 228.679,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39492,
    "c": 0.14359,
    "h": 268.9
  },
  "luminance": 0.05758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #283C92

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

Preview Lab → · Contrast checker → · Palette generator →

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