#284B85#284B85

#284B85 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.8% C 0.105 H 259.9°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#284B85
RGBrgb(40, 75, 133)
HSLhsl(217, 54%, 34%)
HSVhsv(217, 70%, 52%)
CMYKcmyk(69.9%, 43.6%, 0%, 47.8%)
CIE-LABlab(32.20, 7.85, -36.29)
CIE-LCHlch(32.20, 37.13, 282.21°)
OKLaboklab(41.79% -0.0184 -0.1036)
OKLCHoklch(41.79% 0.105 259.9)
XYZxyz(7.6233, 7.1760, 23.1691)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B85 #856228
analogous
#287A85 #284B85 #342885
triadic
#284B85 #85284B #4B8528
tetradic
#284B85 #85287A #856228 #288534
square
#284B85 #85287A #856228 #288534
split-complementary
#284B85 #853428 #7A8528
monochromatic
#0C1627 #1A3056 #284B85 #3666B4 #5A85CD

Accessibility & contrast

On white

8.62
#284B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#284B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B85
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B85#FFFFFF#000000##FFFFFF
##284B851.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305087
Deuteranopia (green-blind)
#214884
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #284b85;
/* rgb */ color: rgb(40, 75, 133);
/* oklch */ color: oklch(41.8% 0.105 259.9);
Tailwind
colors: {
  custom: {
    50: '#6d7ca9',
    500: '#284b85',
    950: '#000000',
  },
}
SCSS
$custom: #284b85;
$custom-light: #6d7ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#284b85",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 133
  },
  "hsl": {
    "h": 217.419,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41794,
    "c": 0.10521,
    "h": 259.9
  },
  "luminance": 0.07177
}

Semantic roles & 50–950 ramp

primary
#284B85
secondary
#B39056
accent
#A64BDD
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #284B85

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

Preview Lab → · Contrast checker → · Palette generator →

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