#283D92#283D92

#283D92 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.142 H 268.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#283D92
RGBrgb(40, 61, 146)
HSLhsl(228, 57%, 36%)
HSVhsv(228, 73%, 57%)
CMYKcmyk(72.6%, 58.2%, 0%, 42.7%)
CIE-LABlab(29.06, 22.39, -49.35)
CIE-LCHlch(29.06, 54.19, 294.40°)
OKLaboklab(39.7% -0.0036 -0.1422)
OKLCHoklch(39.7% 0.142 268.6)
XYZxyz(7.7303, 5.8631, 27.9129)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D92 #927D28
analogous
#287292 #283D92 #482892
triadic
#283D92 #92283D #3D9228
tetradic
#283D92 #922872 #927D28 #289248
square
#283D92 #922872 #927D28 #289248
split-complementary
#283D92 #924828 #729228
monochromatic
#0E1532 #1B2962 #283D92 #3551C2 #6178D4

Accessibility & contrast

On white

9.66
#283D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#283D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D92
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D92#FFFFFF#000000##FFFFFF
##283D921.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #283d92;
/* rgb */ color: rgb(40, 61, 146);
/* oklch */ color: oklch(39.7% 0.142 268.6);
Tailwind
colors: {
  custom: {
    50: '#7172b3',
    500: '#283d92',
    950: '#000000',
  },
}
SCSS
$custom: #283d92;
$custom-light: #7172b3;
$custom-dark: #000000;
JSON
{
  "hex": "#283d92",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 146
  },
  "hsl": {
    "h": 228.113,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39696,
    "c": 0.14229,
    "h": 268.6
  },
  "luminance": 0.05864
}

Semantic roles & 50–950 ramp

primary
#283D92
secondary
#B9A75D
accent
#C248E0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283D92

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

Preview Lab → · Contrast checker → · Palette generator →

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