#284885#284885

#284885 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.1% C 0.109 H 261.9°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#284885
RGBrgb(40, 72, 133)
HSLhsl(219, 54%, 34%)
HSVhsv(219, 70%, 52%)
CMYKcmyk(69.9%, 45.9%, 0%, 47.8%)
CIE-LABlab(31.30, 9.87, -37.74)
CIE-LCHlch(31.30, 39.01, 284.65°)
OKLaboklab(41.1% -0.0153 -0.1079)
OKLCHoklch(41.1% 0.109 261.9)
XYZxyz(7.4246, 6.7786, 23.1029)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284885 #856528
analogous
#287785 #284885 #372885
triadic
#284885 #852848 #488528
tetradic
#284885 #852877 #856528 #288537
square
#284885 #852877 #856528 #288537
split-complementary
#284885 #853728 #778528
monochromatic
#0C1527 #1A2F56 #284885 #3661B4 #5A82CD

Accessibility & contrast

On white

8.91
#284885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#284885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284885
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284885#FFFFFF#000000##FFFFFF
##2848851.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4E87
Deuteranopia (green-blind)
#1A4684
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #284885;
/* rgb */ color: rgb(40, 72, 133);
/* oklch */ color: oklch(41.1% 0.109 261.9);
Tailwind
colors: {
  custom: {
    50: '#6d7aa9',
    500: '#284885',
    950: '#000000',
  },
}
SCSS
$custom: #284885;
$custom-light: #6d7aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#284885",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 133
  },
  "hsl": {
    "h": 219.355,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41095,
    "c": 0.10898,
    "h": 261.9
  },
  "luminance": 0.06779
}

Semantic roles & 50–950 ramp

primary
#284885
secondary
#B39356
accent
#AB4BDD
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #284885

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

Preview Lab → · Contrast checker → · Palette generator →

#284885 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva