#284684#284684

#284684 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.110 H 263.0°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#284684
RGBrgb(40, 70, 132)
HSLhsl(220, 53%, 34%)
HSVhsv(220, 70%, 52%)
CMYKcmyk(69.7%, 47%, 0%, 48.2%)
CIE-LABlab(30.63, 10.84, -38.19)
CIE-LCHlch(30.63, 39.70, 285.84°)
OKLaboklab(40.56% -0.0134 -0.1092)
OKLCHoklch(40.56% 0.11 263)
XYZxyz(7.2286, 6.4967, 22.6984)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284684 #846628
analogous
#287484 #284684 #382884
triadic
#284684 #842846 #468428
tetradic
#284684 #842874 #846628 #288438
square
#284684 #842874 #846628 #288438
split-complementary
#284684 #843828 #748428
monochromatic
#0C1426 #1A2D55 #284684 #365FB3 #5A7FCD

Accessibility & contrast

On white

9.13
#284684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#284684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284684
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284684#FFFFFF#000000##FFFFFF
##2846841.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274D86
Deuteranopia (green-blind)
#164483
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #284684;
/* rgb */ color: rgb(40, 70, 132);
/* oklch */ color: oklch(40.6% 0.110 263.0);
Tailwind
colors: {
  custom: {
    50: '#6d79a8',
    500: '#284684',
    950: '#000000',
  },
}
SCSS
$custom: #284684;
$custom-light: #6d79a8;
$custom-dark: #000000;
JSON
{
  "hex": "#284684",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 132
  },
  "hsl": {
    "h": 220.435,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40562,
    "c": 0.11006,
    "h": 263
  },
  "luminance": 0.06497
}

Semantic roles & 50–950 ramp

primary
#284684
secondary
#B29456
accent
#AD4BDD
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #284684

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

Preview Lab → · Contrast checker → · Palette generator →

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