#283D9D#283D9D

#283D9D is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.158 H 268.8°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#283D9D
RGBrgb(40, 61, 157)
HSLhsl(229, 59%, 39%)
HSVhsv(229, 75%, 62%)
CMYKcmyk(74.5%, 61.1%, 0%, 38.4%)
CIE-LABlab(29.97, 26.58, -54.60)
CIE-LCHlch(29.97, 60.72, 295.96°)
OKLaboklab(40.65% -0.0034 -0.1576)
OKLCHoklch(40.65% 0.158 268.8)
XYZxyz(8.6275, 6.2220, 32.6380)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D9D #9D8828
analogous
#28779D #283D9D #4D289D
triadic
#283D9D #9D283D #3D9D28
tetradic
#283D9D #9D2877 #9D8828 #289D4D
square
#283D9D #9D2877 #9D8828 #289D4D
split-complementary
#283D9D #9D4D28 #779D28
monochromatic
#0F173B #1C2A6C #283D9D #3651CC #677BD8

Accessibility & contrast

On white

9.36
#283D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#283D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D9D
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D9D#FFFFFF#000000##FFFFFF
##283D9D1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #283d9d;
/* rgb */ color: rgb(40, 61, 157);
/* oklch */ color: oklch(40.6% 0.158 268.8);
Tailwind
colors: {
  custom: {
    50: '#7372bb',
    500: '#283d9d',
    950: '#000000',
  },
}
SCSS
$custom: #283d9d;
$custom-light: #7372bb;
$custom-dark: #000000;
JSON
{
  "hex": "#283d9d",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 157
  },
  "hsl": {
    "h": 229.231,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4065,
    "c": 0.15768,
    "h": 268.8
  },
  "luminance": 0.06223
}

Semantic roles & 50–950 ramp

primary
#283D9D
secondary
#BEAE62
accent
#C645E3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #283D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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