#283D9B#283D9B

#283D9B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.155 H 268.7°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#283D9B
RGBrgb(40, 61, 155)
HSLhsl(229, 59%, 38%)
HSVhsv(229, 74%, 61%)
CMYKcmyk(74.2%, 60.6%, 0%, 39.2%)
CIE-LABlab(29.80, 25.82, -53.66)
CIE-LCHlch(29.80, 59.55, 295.70°)
OKLaboklab(40.47% -0.0034 -0.1549)
OKLCHoklch(40.47% 0.155 268.7)
XYZxyz(8.4582, 6.1543, 31.7461)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D9B #9B8628
analogous
#28769B #283D9B #4C289B
triadic
#283D9B #9B283D #3D9B28
tetradic
#283D9B #9B2876 #9B8628 #289B4C
square
#283D9B #9B2876 #9B8628 #289B4C
split-complementary
#283D9B #9B4C28 #769B28
monochromatic
#0F173A #1B2A6A #283D9B #3551CB #667BD7

Accessibility & contrast

On white

9.41
#283D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#283D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D9B
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D9B#FFFFFF#000000##FFFFFF
##283D9B1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #283d9b;
/* rgb */ color: rgb(40, 61, 155);
/* oklch */ color: oklch(40.5% 0.155 268.7);
Tailwind
colors: {
  custom: {
    50: '#7372b9',
    500: '#283d9b',
    950: '#000000',
  },
}
SCSS
$custom: #283d9b;
$custom-light: #7372b9;
$custom-dark: #000000;
JSON
{
  "hex": "#283d9b",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 155
  },
  "hsl": {
    "h": 229.043,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40473,
    "c": 0.15492,
    "h": 268.7
  },
  "luminance": 0.06155
}

Semantic roles & 50–950 ramp

primary
#283D9B
secondary
#BDAD61
accent
#C646E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #283D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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