#283B9A#283B9A

#283B9A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.156 H 269.3°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#283B9A
RGBrgb(40, 59, 154)
HSLhsl(230, 59%, 38%)
HSVhsv(230, 74%, 60%)
CMYKcmyk(74%, 61.7%, 0%, 39.6%)
CIE-LABlab(29.19, 26.78, -54.04)
CIE-LCHlch(29.19, 60.32, 296.36°)
OKLaboklab(39.99% -0.0019 -0.156)
OKLCHoklch(39.99% 0.156 269.3)
XYZxyz(8.2698, 5.9113, 31.2707)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B9A #9A8728
analogous
#28749A #283B9A #4E289A
triadic
#283B9A #9A283B #3B9A28
tetradic
#283B9A #9A2874 #9A8728 #289A4E
square
#283B9A #9A2874 #9A8728 #289A4E
split-complementary
#283B9A #9A4E28 #749A28
monochromatic
#0F1639 #1B2869 #283B9A #354ECA #6578D7

Accessibility & contrast

On white

9.62
#283B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#283B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B9A
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B9A#FFFFFF#000000##FFFFFF
##283B9A1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #283b9a;
/* rgb */ color: rgb(40, 59, 154);
/* oklch */ color: oklch(40.0% 0.156 269.3);
Tailwind
colors: {
  custom: {
    50: '#7370b9',
    500: '#283b9a',
    950: '#000000',
  },
}
SCSS
$custom: #283b9a;
$custom-light: #7370b9;
$custom-dark: #000000;
JSON
{
  "hex": "#283b9a",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 154
  },
  "hsl": {
    "h": 230,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39993,
    "c": 0.15605,
    "h": 269.3
  },
  "luminance": 0.05912
}

Semantic roles & 50–950 ramp

primary
#283B9A
secondary
#BDAE61
accent
#C846E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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