#284A95#284A95

#284A95 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.130 H 263.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#284A95
RGBrgb(40, 74, 149)
HSLhsl(221, 58%, 37%)
HSVhsv(221, 73%, 58%)
CMYKcmyk(73.2%, 50.3%, 0%, 41.6%)
CIE-LABlab(32.96, 14.71, -44.89)
CIE-LCHlch(32.96, 47.24, 288.15°)
OKLaboklab(42.71% -0.0146 -0.1289)
OKLCHoklch(42.71% 0.13 263.5)
XYZxyz(8.7467, 7.5177, 29.4180)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A95 #957328
analogous
#288195 #284A95 #3C2895
triadic
#284A95 #95284A #4A9528
tetradic
#284A95 #952881 #957328 #28953C
square
#284A95 #952881 #957328 #28953C
split-complementary
#284A95 #953C28 #819528
monochromatic
#0E1A35 #1B3265 #284A95 #3562C5 #6286D5

Accessibility & contrast

On white

8.39
#284A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#284A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284A95
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A95#FFFFFF#000000##FFFFFF
##284A951.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5398
Deuteranopia (green-blind)
#004993
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #284a95;
/* rgb */ color: rgb(40, 74, 149);
/* oklch */ color: oklch(42.7% 0.130 263.5);
Tailwind
colors: {
  custom: {
    50: '#717cb5',
    500: '#284a95',
    950: '#000000',
  },
}
SCSS
$custom: #284a95;
$custom-light: #717cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#284a95",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 149
  },
  "hsl": {
    "h": 221.284,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42711,
    "c": 0.12971,
    "h": 263.5
  },
  "luminance": 0.07519
}

Semantic roles & 50–950 ramp

primary
#284A95
secondary
#BB9E5E
accent
#B147E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284A95

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

Preview Lab → · Contrast checker → · Palette generator →

#284A95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva