#284692#284692

#284692 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.6% C 0.131 H 265.0°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#284692
RGBrgb(40, 70, 146)
HSLhsl(223, 57%, 36%)
HSVhsv(223, 73%, 57%)
CMYKcmyk(72.6%, 52.1%, 0%, 42.7%)
CIE-LABlab(31.59, 16.26, -45.26)
CIE-LCHlch(31.59, 48.09, 289.76°)
OKLaboklab(41.6% -0.0114 -0.13)
OKLCHoklch(41.6% 0.131 265)
XYZxyz(8.2517, 6.9059, 28.0866)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284692 #927428
analogous
#287B92 #284692 #3F2892
triadic
#284692 #922846 #469228
tetradic
#284692 #92287B #927428 #28923F
square
#284692 #92287B #927428 #28923F
split-complementary
#284692 #923F28 #7B9228
monochromatic
#0E1832 #1B2F62 #284692 #355DC2 #6181D4

Accessibility & contrast

On white

8.82
#284692 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#284692 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284692
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284692#FFFFFF#000000##FFFFFF
##2846921.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174F95
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #284692;
/* rgb */ color: rgb(40, 70, 146);
/* oklch */ color: oklch(41.6% 0.131 265.0);
Tailwind
colors: {
  custom: {
    50: '#7079b2',
    500: '#284692',
    950: '#000000',
  },
}
SCSS
$custom: #284692;
$custom-light: #7079b2;
$custom-dark: #000000;
JSON
{
  "hex": "#284692",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 146
  },
  "hsl": {
    "h": 223.019,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41603,
    "c": 0.13055,
    "h": 265
  },
  "luminance": 0.06907
}

Semantic roles & 50–950 ramp

primary
#284692
secondary
#B99F5D
accent
#B548E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #284692

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

Preview Lab → · Contrast checker → · Palette generator →

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