#284B88#284B88

#284B88 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.0% C 0.110 H 260.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#284B88
RGBrgb(40, 75, 136)
HSLhsl(218, 55%, 35%)
HSVhsv(218, 71%, 53%)
CMYKcmyk(70.6%, 44.9%, 0%, 46.7%)
CIE-LABlab(32.39, 9.01, -37.84)
CIE-LCHlch(32.39, 38.90, 283.39°)
OKLaboklab(42% -0.0177 -0.1081)
OKLCHoklch(42% 0.11 260.7)
XYZxyz(7.8335, 7.2600, 24.2763)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B88 #886528
analogous
#287B88 #284B88 #352888
triadic
#284B88 #88284B #4B8828
tetradic
#284B88 #88287B #886528 #288835
square
#284B88 #88287B #886528 #288835
split-complementary
#284B88 #883528 #7B8828
monochromatic
#0C1729 #1A3159 #284B88 #3665B7 #5B86CF

Accessibility & contrast

On white

8.56
#284B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#284B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B88
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B88#FFFFFF#000000##FFFFFF
##284B881.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #284b88;
/* rgb */ color: rgb(40, 75, 136);
/* oklch */ color: oklch(42.0% 0.110 260.7);
Tailwind
colors: {
  custom: {
    50: '#6e7cab',
    500: '#284b88',
    950: '#000000',
  },
}
SCSS
$custom: #284b88;
$custom-light: #6e7cab;
$custom-dark: #000000;
JSON
{
  "hex": "#284b88",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 136
  },
  "hsl": {
    "h": 218.125,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42,
    "c": 0.10959,
    "h": 260.7
  },
  "luminance": 0.07261
}

Semantic roles & 50–950 ramp

primary
#284B88
secondary
#B49258
accent
#A84ADE
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #284B88

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

Preview Lab → · Contrast checker → · Palette generator →

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