#283D89#283D89

#283D89 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.129 H 268.2°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#283D89
RGBrgb(40, 61, 137)
HSLhsl(227, 55%, 35%)
HSVhsv(227, 71%, 54%)
CMYKcmyk(70.8%, 55.5%, 0%, 46.3%)
CIE-LABlab(28.36, 18.93, -44.94)
CIE-LCHlch(28.36, 48.76, 292.84°)
OKLaboklab(38.95% -0.0041 -0.1293)
OKLCHoklch(38.95% 0.129 268.2)
XYZxyz(7.0576, 5.5941, 24.3699)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D89 #897428
analogous
#286E89 #283D89 #432889
triadic
#283D89 #89283D #3D8928
tetradic
#283D89 #89286E #897428 #288943
square
#283D89 #89286E #897428 #288943
split-complementary
#283D89 #894328 #6E8928
monochromatic
#0C132A #1A285A #283D89 #3652B8 #5C75CF

Accessibility & contrast

On white

9.91
#283D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#283D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D89
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D89#FFFFFF#000000##FFFFFF
##283D891.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04488C
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #283d89;
/* rgb */ color: rgb(40, 61, 137);
/* oklch */ color: oklch(38.9% 0.129 268.2);
Tailwind
colors: {
  custom: {
    50: '#6f72ac',
    500: '#283d89',
    950: '#000000',
  },
}
SCSS
$custom: #283d89;
$custom-light: #6f72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#283d89",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 137
  },
  "hsl": {
    "h": 227.01,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38949,
    "c": 0.12932,
    "h": 268.2
  },
  "luminance": 0.05595
}

Semantic roles & 50–950 ramp

primary
#283D89
secondary
#B5A158
accent
#BE4ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283D89

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

Preview Lab → · Contrast checker → · Palette generator →

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