#284495#284495

#284495 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.137 H 266.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#284495
RGBrgb(40, 68, 149)
HSLhsl(225, 58%, 37%)
HSVhsv(225, 73%, 58%)
CMYKcmyk(73.2%, 54.4%, 0%, 41.6%)
CIE-LABlab(31.24, 18.78, -47.66)
CIE-LCHlch(31.24, 51.23, 291.51°)
OKLaboklab(41.41% -0.0093 -0.1371)
OKLCHoklch(41.41% 0.137 266.1)
XYZxyz(8.3651, 6.7544, 29.2908)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284495 #957928
analogous
#287B95 #284495 #432895
triadic
#284495 #952844 #449528
tetradic
#284495 #95287B #957928 #289543
square
#284495 #95287B #957928 #289543
split-complementary
#284495 #954328 #7B9528
monochromatic
#0E1835 #1B2E65 #284495 #355AC5 #6280D5

Accessibility & contrast

On white

8.93
#284495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#284495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284495
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284495#FFFFFF#000000##FFFFFF
##2844951.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084F98
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #284495;
/* rgb */ color: rgb(40, 68, 149);
/* oklch */ color: oklch(41.4% 0.137 266.1);
Tailwind
colors: {
  custom: {
    50: '#7177b5',
    500: '#284495',
    950: '#000000',
  },
}
SCSS
$custom: #284495;
$custom-light: #7177b5;
$custom-dark: #000000;
JSON
{
  "hex": "#284495",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 149
  },
  "hsl": {
    "h": 224.587,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41407,
    "c": 0.13746,
    "h": 266.1
  },
  "luminance": 0.06755
}

Semantic roles & 50–950 ramp

primary
#284495
secondary
#BBA35E
accent
#B947E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #284495

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

Preview Lab → · Contrast checker → · Palette generator →

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