#283D9A#283D9A

#283D9A is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.154 H 268.7°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#283D9A
RGBrgb(40, 61, 154)
HSLhsl(229, 59%, 38%)
HSVhsv(229, 74%, 60%)
CMYKcmyk(74%, 60.4%, 0%, 39.6%)
CIE-LABlab(29.72, 25.44, -53.18)
CIE-LCHlch(29.72, 58.96, 295.56°)
OKLaboklab(40.39% -0.0034 -0.1535)
OKLCHoklch(40.39% 0.154 268.7)
XYZxyz(8.3745, 6.1208, 31.3057)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D9A #9A8528
analogous
#28769A #283D9A #4C289A
triadic
#283D9A #9A283D #3D9A28
tetradic
#283D9A #9A2876 #9A8528 #289A4C
square
#283D9A #9A2876 #9A8528 #289A4C
split-complementary
#283D9A #9A4C28 #769A28
monochromatic
#0F1739 #1B2A69 #283D9A #3550CA #657AD7

Accessibility & contrast

On white

9.44
#283D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#283D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D9A
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D9A#FFFFFF#000000##FFFFFF
##283D9A1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#004198
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #283d9a;
/* rgb */ color: rgb(40, 61, 154);
/* oklch */ color: oklch(40.4% 0.154 268.7);
Tailwind
colors: {
  custom: {
    50: '#7372b9',
    500: '#283d9a',
    950: '#000000',
  },
}
SCSS
$custom: #283d9a;
$custom-light: #7372b9;
$custom-dark: #000000;
JSON
{
  "hex": "#283d9a",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 154
  },
  "hsl": {
    "h": 228.947,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40385,
    "c": 0.15353,
    "h": 268.7
  },
  "luminance": 0.06122
}

Semantic roles & 50–950 ramp

primary
#283D9A
secondary
#BDAC61
accent
#C546E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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