#284B89#284B89

#284B89 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.1% C 0.111 H 260.9°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#284B89
RGBrgb(40, 75, 137)
HSLhsl(218, 55%, 35%)
HSVhsv(218, 71%, 54%)
CMYKcmyk(70.8%, 45.3%, 0%, 46.3%)
CIE-LABlab(32.46, 9.39, -38.35)
CIE-LCHlch(32.46, 39.49, 283.76°)
OKLaboklab(42.07% -0.0175 -0.1096)
OKLCHoklch(42.07% 0.111 260.9)
XYZxyz(7.9049, 7.2886, 24.6523)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B89 #896628
analogous
#287B89 #284B89 #362889
triadic
#284B89 #89284B #4B8928
tetradic
#284B89 #89287B #896628 #288936
square
#284B89 #89287B #896628 #288936
split-complementary
#284B89 #893628 #7B8928
monochromatic
#0C172A #1A315A #284B89 #3665B8 #5C86CF

Accessibility & contrast

On white

8.54
#284B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#284B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B89
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B89#FFFFFF#000000##FFFFFF
##284B891.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D518B
Deuteranopia (green-blind)
#1C4888
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #284b89;
/* rgb */ color: rgb(40, 75, 137);
/* oklch */ color: oklch(42.1% 0.111 260.9);
Tailwind
colors: {
  custom: {
    50: '#6e7cac',
    500: '#284b89',
    950: '#000000',
  },
}
SCSS
$custom: #284b89;
$custom-light: #6e7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#284b89",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 137
  },
  "hsl": {
    "h": 218.351,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42069,
    "c": 0.11105,
    "h": 260.9
  },
  "luminance": 0.07289
}

Semantic roles & 50–950 ramp

primary
#284B89
secondary
#B59358
accent
#A94ADE
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #284B89

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

Preview Lab → · Contrast checker → · Palette generator →

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