#283B84#283B84

#283B84 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.125 H 268.8°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#283B84
RGBrgb(40, 59, 132)
HSLhsl(228, 53%, 34%)
HSVhsv(228, 70%, 52%)
CMYKcmyk(69.7%, 55.3%, 0%, 48.2%)
CIE-LABlab(27.42, 18.38, -43.36)
CIE-LCHlch(27.42, 47.10, 292.97°)
OKLaboklab(38.12% -0.0026 -0.1246)
OKLCHoklch(38.12% 0.125 268.8)
XYZxyz(6.6025, 5.2444, 22.4896)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B84 #847128
analogous
#286984 #283B84 #432884
triadic
#283B84 #84283B #3B8428
tetradic
#283B84 #842869 #847128 #288443
square
#283B84 #842869 #847128 #288443
split-complementary
#283B84 #844328 #698428
monochromatic
#0C1126 #1A2655 #283B84 #3650B3 #5A71CD

Accessibility & contrast

On white

10.25
#283B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#283B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B84
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B84#FFFFFF#000000##FFFFFF
##283B841.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074587
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #283b84;
/* rgb */ color: rgb(40, 59, 132);
/* oklch */ color: oklch(38.1% 0.125 268.8);
Tailwind
colors: {
  custom: {
    50: '#6e70a8',
    500: '#283b84',
    950: '#000000',
  },
}
SCSS
$custom: #283b84;
$custom-light: #6e70a8;
$custom-dark: #000000;
JSON
{
  "hex": "#283b84",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 132
  },
  "hsl": {
    "h": 227.609,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38117,
    "c": 0.12468,
    "h": 268.8
  },
  "luminance": 0.05245
}

Semantic roles & 50–950 ramp

primary
#283B84
secondary
#B29F56
accent
#BF4BDD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283B84

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

Preview Lab → · Contrast checker → · Palette generator →

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