#284B83#284B83

#284B83 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.7% C 0.102 H 259.4°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#284B83
RGBrgb(40, 75, 131)
HSLhsl(217, 53%, 34%)
HSVhsv(217, 69%, 51%)
CMYKcmyk(69.5%, 42.7%, 0%, 48.6%)
CIE-LABlab(32.08, 7.08, -35.25)
CIE-LCHlch(32.08, 35.96, 281.36°)
OKLaboklab(41.66% -0.0188 -0.1005)
OKLCHoklch(41.66% 0.102 259.4)
XYZxyz(7.4864, 7.1212, 22.4483)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B83 #836028
analogous
#287883 #284B83 #322883
triadic
#284B83 #83284B #4B8328
tetradic
#284B83 #832878 #836028 #288332
square
#284B83 #832878 #836028 #288332
split-complementary
#284B83 #833228 #788328
monochromatic
#0B1525 #1A3054 #284B83 #3666B2 #5985CC

Accessibility & contrast

On white

8.66
#284B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#284B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B83
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B83#FFFFFF#000000##FFFFFF
##284B831.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315085
Deuteranopia (green-blind)
#234882
Tritanopia (blue-blind)
#005860
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #284b83;
/* rgb */ color: rgb(40, 75, 131);
/* oklch */ color: oklch(41.7% 0.102 259.4);
Tailwind
colors: {
  custom: {
    50: '#6d7ca7',
    500: '#284b83',
    950: '#000000',
  },
}
SCSS
$custom: #284b83;
$custom-light: #6d7ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#284b83",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 131
  },
  "hsl": {
    "h": 216.923,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41659,
    "c": 0.10228,
    "h": 259.4
  },
  "luminance": 0.07122
}

Semantic roles & 50–950 ramp

primary
#284B83
secondary
#B18E55
accent
#A54BDD
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #284B83

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

Preview Lab → · Contrast checker → · Palette generator →

#284B83 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva