#283B92#283B92

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

Color values

HEX#283B92
RGBrgb(40, 59, 146)
HSLhsl(229, 57%, 36%)
HSVhsv(229, 73%, 57%)
CMYKcmyk(72.6%, 59.6%, 0%, 42.7%)
CIE-LABlab(28.52, 23.75, -50.24)
CIE-LCHlch(28.52, 55.57, 295.30°)
OKLaboklab(39.29% -0.002 -0.1449)
OKLCHoklch(39.29% 0.145 269.2)
XYZxyz(7.6256, 5.6536, 27.8779)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B92 #927F28
analogous
#287092 #283B92 #4A2892
triadic
#283B92 #92283B #3B9228
tetradic
#283B92 #922870 #927F28 #28924A
square
#283B92 #922870 #927F28 #28924A
split-complementary
#283B92 #924A28 #709228
monochromatic
#0E1432 #1B2862 #283B92 #354EC2 #6175D4

Accessibility & contrast

On white

9.86
#283B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#283B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B92
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B92#FFFFFF#000000##FFFFFF
##283B921.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #283b92;
/* rgb */ color: rgb(40, 59, 146);
/* oklch */ color: oklch(39.3% 0.145 269.2);
Tailwind
colors: {
  custom: {
    50: '#7170b3',
    500: '#283b92',
    950: '#000000',
  },
}
SCSS
$custom: #283b92;
$custom-light: #7170b3;
$custom-dark: #000000;
JSON
{
  "hex": "#283b92",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 146
  },
  "hsl": {
    "h": 229.245,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3929,
    "c": 0.14487,
    "h": 269.2
  },
  "luminance": 0.05654
}

Semantic roles & 50–950 ramp

primary
#283B92
secondary
#B9A95D
accent
#C548E0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283B92

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

Preview Lab → · Contrast checker → · Palette generator →

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