#283D84#283D84

#283D84 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.5% C 0.122 H 267.9°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#283D84
RGBrgb(40, 61, 132)
HSLhsl(226, 53%, 34%)
HSVhsv(226, 70%, 52%)
CMYKcmyk(69.7%, 53.8%, 0%, 48.2%)
CIE-LABlab(27.99, 17.00, -42.44)
CIE-LCHlch(27.99, 45.72, 291.84°)
OKLaboklab(38.55% -0.0045 -0.1219)
OKLCHoklch(38.55% 0.122 267.9)
XYZxyz(6.7072, 5.4539, 22.5246)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D84 #846F28
analogous
#286B84 #283D84 #412884
triadic
#283D84 #84283D #3D8428
tetradic
#283D84 #84286B #846F28 #288441
square
#283D84 #84286B #846F28 #288441
split-complementary
#283D84 #844128 #6B8428
monochromatic
#0C1226 #1A2755 #283D84 #3653B3 #5A74CD

Accessibility & contrast

On white

10.04
#283D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#283D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D84
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D84#FFFFFF#000000##FFFFFF
##283D841.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104687
Deuteranopia (green-blind)
#003E83
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #283d84;
/* rgb */ color: rgb(40, 61, 132);
/* oklch */ color: oklch(38.5% 0.122 267.9);
Tailwind
colors: {
  custom: {
    50: '#6e72a8',
    500: '#283d84',
    950: '#000000',
  },
}
SCSS
$custom: #283d84;
$custom-light: #6e72a8;
$custom-dark: #000000;
JSON
{
  "hex": "#283d84",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 132
  },
  "hsl": {
    "h": 226.304,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38548,
    "c": 0.12198,
    "h": 267.9
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

primary
#283D84
secondary
#B29D56
accent
#BC4BDD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283D84

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

Preview Lab → · Contrast checker → · Palette generator →

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