#283B99#283B99

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

Color values

HEX#283B99
RGBrgb(40, 59, 153)
HSLhsl(230, 59%, 38%)
HSVhsv(230, 74%, 60%)
CMYKcmyk(73.9%, 61.4%, 0%, 40%)
CIE-LABlab(29.10, 26.41, -53.57)
CIE-LCHlch(29.10, 59.73, 296.24°)
OKLaboklab(39.9% -0.0019 -0.1547)
OKLCHoklch(39.9% 0.155 269.3)
XYZxyz(8.1868, 5.8781, 30.8339)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B99 #998628
analogous
#287399 #283B99 #4E2899
triadic
#283B99 #99283B #3B9928
tetradic
#283B99 #992873 #998628 #28994E
square
#283B99 #992873 #998628 #28994E
split-complementary
#283B99 #994E28 #739928
monochromatic
#0F1638 #1B2868 #283B99 #354ECA #6578D7

Accessibility & contrast

On white

9.65
#283B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283B99
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B99#FFFFFF#000000##FFFFFF
##283B991.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #283b99;
/* rgb */ color: rgb(40, 59, 153);
/* oklch */ color: oklch(39.9% 0.155 269.3);
Tailwind
colors: {
  custom: {
    50: '#7370b8',
    500: '#283b99',
    950: '#000000',
  },
}
SCSS
$custom: #283b99;
$custom-light: #7370b8;
$custom-dark: #000000;
JSON
{
  "hex": "#283b99",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 153
  },
  "hsl": {
    "h": 229.912,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39904,
    "c": 0.15467,
    "h": 269.3
  },
  "luminance": 0.05879
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #283B99

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

Preview Lab → · Contrast checker → · Palette generator →

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