#283D99#283D99

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

Color values

HEX#283D99
RGBrgb(40, 61, 153)
HSLhsl(229, 59%, 38%)
HSVhsv(229, 74%, 60%)
CMYKcmyk(73.9%, 60.1%, 0%, 40%)
CIE-LABlab(29.63, 25.06, -52.71)
CIE-LCHlch(29.63, 58.36, 295.43°)
OKLaboklab(40.3% -0.0034 -0.1521)
OKLCHoklch(40.3% 0.152 268.7)
XYZxyz(8.2916, 6.0876, 30.8689)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D99 #998428
analogous
#287599 #283D99 #4C2899
triadic
#283D99 #99283D #3D9928
tetradic
#283D99 #992875 #998428 #28994C
square
#283D99 #992875 #998428 #28994C
split-complementary
#283D99 #994C28 #759928
monochromatic
#0F1638 #1B2A68 #283D99 #3550CA #657AD7

Accessibility & contrast

On white

9.47
#283D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283D99
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D99#FFFFFF#000000##FFFFFF
##283D991.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283d99;
/* rgb */ color: rgb(40, 61, 153);
/* oklch */ color: oklch(40.3% 0.152 268.7);
Tailwind
colors: {
  custom: {
    50: '#7272b8',
    500: '#283d99',
    950: '#000000',
  },
}
SCSS
$custom: #283d99;
$custom-light: #7272b8;
$custom-dark: #000000;
JSON
{
  "hex": "#283d99",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 153
  },
  "hsl": {
    "h": 228.85,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40298,
    "c": 0.15214,
    "h": 268.7
  },
  "luminance": 0.06089
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #283D99

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

Preview Lab → · Contrast checker → · Palette generator →

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