#284682#284682

#284682 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.4% C 0.107 H 262.6°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#284682
RGBrgb(40, 70, 130)
HSLhsl(220, 53%, 33%)
HSVhsv(220, 69%, 51%)
CMYKcmyk(69.2%, 46.2%, 0%, 49%)
CIE-LABlab(30.50, 10.07, -37.16)
CIE-LCHlch(30.50, 38.50, 285.16°)
OKLaboklab(40.42% -0.0138 -0.1062)
OKLCHoklch(40.42% 0.107 262.6)
XYZxyz(7.0931, 6.4424, 21.9845)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284682 #826428
analogous
#287382 #284682 #372882
triadic
#284682 #822846 #468228
tetradic
#284682 #822873 #826428 #288237
square
#284682 #822873 #826428 #288237
split-complementary
#284682 #823728 #738228
monochromatic
#0B1424 #1A2D53 #284682 #365FB1 #597FCC

Accessibility & contrast

On white

9.18
#284682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#284682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284682
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284682#FFFFFF#000000##FFFFFF
##2846821.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294C84
Deuteranopia (green-blind)
#194481
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #284682;
/* rgb */ color: rgb(40, 70, 130);
/* oklch */ color: oklch(40.4% 0.107 262.6);
Tailwind
colors: {
  custom: {
    50: '#6d79a7',
    500: '#284682',
    950: '#000000',
  },
}
SCSS
$custom: #284682;
$custom-light: #6d79a7;
$custom-dark: #000000;
JSON
{
  "hex": "#284682",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 130
  },
  "hsl": {
    "h": 220,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4042,
    "c": 0.1071,
    "h": 262.6
  },
  "luminance": 0.06443
}

Semantic roles & 50–950 ramp

primary
#284682
secondary
#B19255
accent
#AC4BDC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #284682

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

Preview Lab → · Contrast checker → · Palette generator →

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