#284A86#284A86

#284A86 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.6% C 0.108 H 260.9°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#284A86
RGBrgb(40, 74, 134)
HSLhsl(218, 54%, 34%)
HSVhsv(218, 70%, 53%)
CMYKcmyk(70.1%, 44.8%, 0%, 47.5%)
CIE-LABlab(31.96, 8.91, -37.29)
CIE-LCHlch(31.96, 38.34, 283.43°)
OKLaboklab(41.63% -0.0171 -0.1065)
OKLCHoklch(41.63% 0.108 260.9)
XYZxyz(7.6254, 7.0691, 23.5122)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A86 #866428
analogous
#287986 #284A86 #352886
triadic
#284A86 #86284A #4A8628
tetradic
#284A86 #862879 #866428 #288635
square
#284A86 #862879 #866428 #288635
split-complementary
#284A86 #863528 #798628
monochromatic
#0C1628 #1A3057 #284A86 #3664B5 #5B84CE

Accessibility & contrast

On white

8.70
#284A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#284A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284A86
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A86#FFFFFF#000000##FFFFFF
##284A861.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5088
Deuteranopia (green-blind)
#1D4785
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #284a86;
/* rgb */ color: rgb(40, 74, 134);
/* oklch */ color: oklch(41.6% 0.108 260.9);
Tailwind
colors: {
  custom: {
    50: '#6d7ca9',
    500: '#284a86',
    950: '#000000',
  },
}
SCSS
$custom: #284a86;
$custom-light: #6d7ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#284a86",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 134
  },
  "hsl": {
    "h": 218.298,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41629,
    "c": 0.10792,
    "h": 260.9
  },
  "luminance": 0.0707
}

Semantic roles & 50–950 ramp

primary
#284A86
secondary
#B39257
accent
#A84ADD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #284A86

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

Preview Lab → · Contrast checker → · Palette generator →

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