#283F84#283F84

#283F84 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 39.0% C 0.119 H 266.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#283F84
RGBrgb(40, 63, 132)
HSLhsl(225, 53%, 34%)
HSVhsv(225, 70%, 52%)
CMYKcmyk(69.7%, 52.3%, 0%, 48.2%)
CIE-LABlab(28.57, 15.63, -41.51)
CIE-LCHlch(28.57, 44.35, 290.63°)
OKLaboklab(38.99% -0.0064 -0.1191)
OKLCHoklch(38.99% 0.119 266.9)
XYZxyz(6.8160, 5.6714, 22.5608)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F84 #846D28
analogous
#286D84 #283F84 #3F2884
triadic
#283F84 #84283F #3F8428
tetradic
#283F84 #84286D #846D28 #28843F
square
#283F84 #84286D #846D28 #28843F
split-complementary
#283F84 #843F28 #6D8428
monochromatic
#0C1226 #1A2955 #283F84 #3655B3 #5A76CD

Accessibility & contrast

On white

9.84
#283F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#283F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F84
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F84#FFFFFF#000000##FFFFFF
##283F841.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164886
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #283f84;
/* rgb */ color: rgb(40, 63, 132);
/* oklch */ color: oklch(39.0% 0.119 266.9);
Tailwind
colors: {
  custom: {
    50: '#6d73a8',
    500: '#283f84',
    950: '#000000',
  },
}
SCSS
$custom: #283f84;
$custom-light: #6d73a8;
$custom-dark: #000000;
JSON
{
  "hex": "#283f84",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 132
  },
  "hsl": {
    "h": 225,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38985,
    "c": 0.1193,
    "h": 266.9
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

primary
#283F84
secondary
#B29B56
accent
#B84BDD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #283F84

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

Preview Lab → · Contrast checker → · Palette generator →

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