#283D8F#283D8F

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

Color values

HEX#283D8F
RGBrgb(40, 61, 143)
HSLhsl(228, 56%, 36%)
HSVhsv(228, 72%, 56%)
CMYKcmyk(72%, 57.3%, 0%, 43.9%)
CIE-LABlab(28.83, 21.24, -47.90)
CIE-LCHlch(28.83, 52.39, 293.91°)
OKLaboklab(39.44% -0.0037 -0.1379)
OKLCHoklch(39.44% 0.138 268.5)
XYZxyz(7.5000, 5.7710, 26.6999)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D8F #8F7A28
analogous
#28708F #283D8F #46288F
triadic
#283D8F #8F283D #3D8F28
tetradic
#283D8F #8F2870 #8F7A28 #288F46
square
#283D8F #8F2870 #8F7A28 #288F46
split-complementary
#283D8F #8F4628 #708F28
monochromatic
#0D142F #1B295F #283D8F #3551BF #5F77D2

Accessibility & contrast

On white

9.75
#283D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283D8F
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D8F#FFFFFF#000000##FFFFFF
##283D8F1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283d8f;
/* rgb */ color: rgb(40, 61, 143);
/* oklch */ color: oklch(39.4% 0.138 268.5);
Tailwind
colors: {
  custom: {
    50: '#7072b0',
    500: '#283d8f',
    950: '#000000',
  },
}
SCSS
$custom: #283d8f;
$custom-light: #7072b0;
$custom-dark: #000000;
JSON
{
  "hex": "#283d8f",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 143
  },
  "hsl": {
    "h": 227.767,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39443,
    "c": 0.138,
    "h": 268.5
  },
  "luminance": 0.05772
}

Semantic roles & 50–950 ramp

primary
#283D8F
secondary
#B8A55B
accent
#C148E0
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #283D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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