#284595#284595

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

Color values

HEX#284595
RGBrgb(40, 69, 149)
HSLhsl(224, 58%, 37%)
HSVhsv(224, 73%, 58%)
CMYKcmyk(73.2%, 53.7%, 0%, 41.6%)
CIE-LABlab(31.52, 18.10, -47.20)
CIE-LCHlch(31.52, 50.55, 290.98°)
OKLaboklab(41.62% -0.0102 -0.1358)
OKLCHoklch(41.62% 0.136 265.7)
XYZxyz(8.4261, 6.8764, 29.3112)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284595 #957828
analogous
#287C95 #284595 #422895
triadic
#284595 #952845 #459528
tetradic
#284595 #95287C #957828 #289542
square
#284595 #95287C #957828 #289542
split-complementary
#284595 #954228 #7C9528
monochromatic
#0E1835 #1B2F65 #284595 #355BC5 #6281D5

Accessibility & contrast

On white

8.84
#284595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284595
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284595#FFFFFF#000000##FFFFFF
##2845951.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4F98
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #284595;
/* rgb */ color: rgb(40, 69, 149);
/* oklch */ color: oklch(41.6% 0.136 265.7);
Tailwind
colors: {
  custom: {
    50: '#7178b5',
    500: '#284595',
    950: '#000000',
  },
}
SCSS
$custom: #284595;
$custom-light: #7178b5;
$custom-dark: #000000;
JSON
{
  "hex": "#284595",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 149
  },
  "hsl": {
    "h": 224.037,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41621,
    "c": 0.13616,
    "h": 265.7
  },
  "luminance": 0.06877
}

Semantic roles & 50–950 ramp

primary
#284595
secondary
#BBA25E
accent
#B847E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #284595

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

Preview Lab → · Contrast checker → · Palette generator →

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