#283B97#283B97

#283B97 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.152 H 269.3°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#283B97
RGBrgb(40, 59, 151)
HSLhsl(230, 58%, 37%)
HSVhsv(230, 74%, 59%)
CMYKcmyk(73.5%, 60.9%, 0%, 40.8%)
CIE-LABlab(28.93, 25.65, -52.63)
CIE-LCHlch(28.93, 58.54, 295.98°)
OKLaboklab(39.73% -0.0019 -0.1519)
OKLCHoklch(39.73% 0.152 269.3)
XYZxyz(8.0230, 5.8126, 29.9713)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B97 #978428
analogous
#287297 #283B97 #4D2897
triadic
#283B97 #97283B #3B9728
tetradic
#283B97 #972872 #978428 #28974D
square
#283B97 #972872 #978428 #28974D
split-complementary
#283B97 #974D28 #729728
monochromatic
#0E1536 #1B2867 #283B97 #354EC7 #6477D6

Accessibility & contrast

On white

9.71
#283B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#283B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B97
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B97#FFFFFF#000000##FFFFFF
##283B971.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #283b97;
/* rgb */ color: rgb(40, 59, 151);
/* oklch */ color: oklch(39.7% 0.152 269.3);
Tailwind
colors: {
  custom: {
    50: '#7270b6',
    500: '#283b97',
    950: '#000000',
  },
}
SCSS
$custom: #283b97;
$custom-light: #7270b6;
$custom-dark: #000000;
JSON
{
  "hex": "#283b97",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 151
  },
  "hsl": {
    "h": 229.73,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39727,
    "c": 0.15189,
    "h": 269.3
  },
  "luminance": 0.05813
}

Semantic roles & 50–950 ramp

primary
#283B97
secondary
#BCAC5F
accent
#C746E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283B97

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

Preview Lab → · Contrast checker → · Palette generator →

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