#284693#284693

#284693 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.132 H 265.1°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#284693
RGBrgb(40, 70, 147)
HSLhsl(223, 57%, 37%)
HSVhsv(223, 73%, 58%)
CMYKcmyk(72.8%, 52.4%, 0%, 42.4%)
CIE-LABlab(31.66, 16.65, -45.75)
CIE-LCHlch(31.66, 48.69, 289.99°)
OKLaboklab(41.68% -0.0113 -0.1315)
OKLCHoklch(41.68% 0.132 265.1)
XYZxyz(8.3298, 6.9372, 28.4981)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284693 #937528
analogous
#287C93 #284693 #402893
triadic
#284693 #932846 #469328
tetradic
#284693 #93287C #937528 #289340
square
#284693 #93287C #937528 #289340
split-complementary
#284693 #934028 #7C9328
monochromatic
#0E1833 #1B2F63 #284693 #355DC3 #6181D4

Accessibility & contrast

On white

8.80
#284693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#284693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284693
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284693#FFFFFF#000000##FFFFFF
##2846931.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165096
Deuteranopia (green-blind)
#004691
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #284693;
/* rgb */ color: rgb(40, 70, 147);
/* oklch */ color: oklch(41.7% 0.132 265.1);
Tailwind
colors: {
  custom: {
    50: '#7079b3',
    500: '#284693',
    950: '#000000',
  },
}
SCSS
$custom: #284693;
$custom-light: #7079b3;
$custom-dark: #000000;
JSON
{
  "hex": "#284693",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 147
  },
  "hsl": {
    "h": 223.178,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4168,
    "c": 0.13199,
    "h": 265.1
  },
  "luminance": 0.06938
}

Semantic roles & 50–950 ramp

primary
#284693
secondary
#BAA05D
accent
#B647E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284693

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

Preview Lab → · Contrast checker → · Palette generator →

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