#284675#284675

#284675 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.5% C 0.088 H 259.1°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#284675
RGBrgb(40, 70, 117)
HSLhsl(217, 49%, 31%)
HSVhsv(217, 66%, 46%)
CMYKcmyk(65.8%, 40.2%, 0%, 54.1%)
CIE-LABlab(29.70, 5.09, -30.31)
CIE-LCHlch(29.70, 30.73, 279.54°)
OKLaboklab(39.54% -0.0167 -0.0861)
OKLCHoklch(39.54% 0.088 259.1)
XYZxyz(6.2750, 6.1152, 17.6758)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284675 #755728
analogous
#286C75 #284675 #302875
triadic
#284675 #752846 #467528
tetradic
#284675 #75286C #755728 #287530
square
#284675 #75286C #755728 #287530
split-complementary
#284675 #753028 #6C7528
monochromatic
#090F1A #182B47 #284675 #3861A3 #537FC4

Accessibility & contrast

On white

9.45
#284675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#284675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284675
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284675#FFFFFF#000000##FFFFFF
##2846751.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314A77
Deuteranopia (green-blind)
#274374
Tritanopia (blue-blind)
#005158
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #284675;
/* rgb */ color: rgb(40, 70, 117);
/* oklch */ color: oklch(39.5% 0.088 259.1);
Tailwind
colors: {
  custom: {
    50: '#6a799d',
    500: '#284675',
    950: '#000000',
  },
}
SCSS
$custom: #284675;
$custom-light: #6a799d;
$custom-dark: #000000;
JSON
{
  "hex": "#284675",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 117
  },
  "hsl": {
    "h": 216.623,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39541,
    "c": 0.08772,
    "h": 259.1
  },
  "luminance": 0.06116
}

Semantic roles & 50–950 ramp

primary
#284675
secondary
#A78652
accent
#A34FD9
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #284675

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

Preview Lab → · Contrast checker → · Palette generator →

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