#284694#284694

#284694 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.133 H 265.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#284694
RGBrgb(40, 70, 148)
HSLhsl(223, 57%, 37%)
HSVhsv(223, 73%, 58%)
CMYKcmyk(73%, 52.7%, 0%, 42%)
CIE-LABlab(31.74, 17.03, -46.25)
CIE-LCHlch(31.74, 49.29, 290.22°)
OKLaboklab(41.76% -0.0111 -0.133)
OKLCHoklch(41.76% 0.133 265.2)
XYZxyz(8.4086, 6.9687, 28.9132)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284694 #947628
analogous
#287C94 #284694 #402894
triadic
#284694 #942846 #469428
tetradic
#284694 #94287C #947628 #289440
square
#284694 #94287C #947628 #289440
split-complementary
#284694 #944028 #7C9428
monochromatic
#0E1834 #1B2F64 #284694 #355DC4 #6282D5

Accessibility & contrast

On white

8.77
#284694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284694
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284694#FFFFFF#000000##FFFFFF
##2846941.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145097
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #284694;
/* rgb */ color: rgb(40, 70, 148);
/* oklch */ color: oklch(41.8% 0.133 265.2);
Tailwind
colors: {
  custom: {
    50: '#7179b4',
    500: '#284694',
    950: '#000000',
  },
}
SCSS
$custom: #284694;
$custom-light: #7179b4;
$custom-dark: #000000;
JSON
{
  "hex": "#284694",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 148
  },
  "hsl": {
    "h": 223.333,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41758,
    "c": 0.13343,
    "h": 265.2
  },
  "luminance": 0.0697
}

Semantic roles & 50–950 ramp

primary
#284694
secondary
#BAA05E
accent
#B647E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284694

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

Preview Lab → · Contrast checker → · Palette generator →

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