#284697#284697

#284697 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.0% C 0.138 H 265.5°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#284697
RGBrgb(40, 70, 151)
HSLhsl(224, 58%, 37%)
HSVhsv(224, 74%, 59%)
CMYKcmyk(73.5%, 53.6%, 0%, 40.8%)
CIE-LABlab(31.95, 18.20, -47.72)
CIE-LCHlch(31.95, 51.07, 290.87°)
OKLaboklab(41.99% -0.0108 -0.1373)
OKLCHoklch(41.99% 0.138 265.5)
XYZxyz(8.6492, 7.0649, 30.1800)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284697 #977928
analogous
#287D97 #284697 #422897
triadic
#284697 #972846 #469728
tetradic
#284697 #97287D #977928 #289742
square
#284697 #97287D #977928 #289742
split-complementary
#284697 #974228 #7D9728
monochromatic
#0E1936 #1B3067 #284697 #355CC7 #6482D6

Accessibility & contrast

On white

8.70
#284697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#284697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284697
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284697#FFFFFF#000000##FFFFFF
##2846971.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E519A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #284697;
/* rgb */ color: rgb(40, 70, 151);
/* oklch */ color: oklch(42.0% 0.138 265.5);
Tailwind
colors: {
  custom: {
    50: '#7179b6',
    500: '#284697',
    950: '#000000',
  },
}
SCSS
$custom: #284697;
$custom-light: #7179b6;
$custom-dark: #000000;
JSON
{
  "hex": "#284697",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 223.784,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41994,
    "c": 0.13773,
    "h": 265.5
  },
  "luminance": 0.07066
}

Semantic roles & 50–950 ramp

primary
#284697
secondary
#BCA35F
accent
#B746E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284697

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

Preview Lab → · Contrast checker → · Palette generator →

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