#283D96#283D96

#283D96 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.148 H 268.7°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#283D96
RGBrgb(40, 61, 150)
HSLhsl(229, 58%, 37%)
HSVhsv(229, 73%, 59%)
CMYKcmyk(73.3%, 59.3%, 0%, 41.2%)
CIE-LABlab(29.39, 23.92, -51.28)
CIE-LCHlch(29.39, 56.58, 295.01°)
OKLaboklab(40.04% -0.0035 -0.1479)
OKLCHoklch(40.04% 0.148 268.7)
XYZxyz(8.0469, 5.9898, 29.5803)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D96 #968128
analogous
#287496 #283D96 #4A2896
triadic
#283D96 #96283D #3D9628
tetradic
#283D96 #962874 #968128 #28964A
square
#283D96 #962874 #968128 #28964A
split-complementary
#283D96 #964A28 #749628
monochromatic
#0E1635 #1B2966 #283D96 #3551C6 #6379D5

Accessibility & contrast

On white

9.55
#283D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#283D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D96
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D96#FFFFFF#000000##FFFFFF
##283D961.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #283d96;
/* rgb */ color: rgb(40, 61, 150);
/* oklch */ color: oklch(40.0% 0.148 268.7);
Tailwind
colors: {
  custom: {
    50: '#7272b6',
    500: '#283d96',
    950: '#000000',
  },
}
SCSS
$custom: #283d96;
$custom-light: #7272b6;
$custom-dark: #000000;
JSON
{
  "hex": "#283d96",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 150
  },
  "hsl": {
    "h": 228.545,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40038,
    "c": 0.14794,
    "h": 268.7
  },
  "luminance": 0.05991
}

Semantic roles & 50–950 ramp

primary
#283D96
secondary
#BBA95F
accent
#C447E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283D96

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

Preview Lab → · Contrast checker → · Palette generator →

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