#283B89#283B89

#283B89 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.132 H 269.0°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#283B89
RGBrgb(40, 59, 137)
HSLhsl(228, 55%, 35%)
HSVhsv(228, 71%, 54%)
CMYKcmyk(70.8%, 56.9%, 0%, 46.3%)
CIE-LABlab(27.80, 20.30, -45.85)
CIE-LCHlch(27.80, 50.14, 293.89°)
OKLaboklab(38.53% -0.0023 -0.132)
OKLCHoklch(38.53% 0.132 269)
XYZxyz(6.9528, 5.3845, 24.3350)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B89 #897628
analogous
#286C89 #283B89 #452889
triadic
#283B89 #89283B #3B8928
tetradic
#283B89 #89286C #897628 #288945
square
#283B89 #89286C #897628 #288945
split-complementary
#283B89 #894528 #6C8928
monochromatic
#0C122A #1A275A #283B89 #364FB8 #5C73CF

Accessibility & contrast

On white

10.11
#283B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#283B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B89
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B89#FFFFFF#000000##FFFFFF
##283B891.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #283b89;
/* rgb */ color: rgb(40, 59, 137);
/* oklch */ color: oklch(38.5% 0.132 269.0);
Tailwind
colors: {
  custom: {
    50: '#6f70ac',
    500: '#283b89',
    950: '#000000',
  },
}
SCSS
$custom: #283b89;
$custom-light: #6f70ac;
$custom-dark: #000000;
JSON
{
  "hex": "#283b89",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 137
  },
  "hsl": {
    "h": 228.247,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38527,
    "c": 0.13198,
    "h": 269
  },
  "luminance": 0.05385
}

Semantic roles & 50–950 ramp

primary
#283B89
secondary
#B5A358
accent
#C14ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283B89

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

Preview Lab → · Contrast checker → · Palette generator →

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