#283D91#283D91

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

Color values

HEX#283D91
RGBrgb(40, 61, 145)
HSLhsl(228, 57%, 36%)
HSVhsv(228, 72%, 57%)
CMYKcmyk(72.4%, 57.9%, 0%, 43.1%)
CIE-LABlab(28.99, 22.01, -48.87)
CIE-LCHlch(28.99, 53.59, 294.24°)
OKLaboklab(39.61% -0.0036 -0.1408)
OKLCHoklch(39.61% 0.141 268.5)
XYZxyz(7.6529, 5.8322, 27.5050)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D91 #917C28
analogous
#287291 #283D91 #482891
triadic
#283D91 #91283D #3D9128
tetradic
#283D91 #912872 #917C28 #289148
square
#283D91 #912872 #917C28 #289148
split-complementary
#283D91 #914828 #729128
monochromatic
#0E1531 #1B2961 #283D91 #3551C1 #6077D3

Accessibility & contrast

On white

9.69
#283D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283D91
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D91#FFFFFF#000000##FFFFFF
##283D911.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #283d91;
/* rgb */ color: rgb(40, 61, 145);
/* oklch */ color: oklch(39.6% 0.141 268.5);
Tailwind
colors: {
  custom: {
    50: '#7172b2',
    500: '#283d91',
    950: '#000000',
  },
}
SCSS
$custom: #283d91;
$custom-light: #7172b2;
$custom-dark: #000000;
JSON
{
  "hex": "#283d91",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 145
  },
  "hsl": {
    "h": 228,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39611,
    "c": 0.14086,
    "h": 268.5
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #283D91

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

Preview Lab → · Contrast checker → · Palette generator →

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