#284A94#284A94

#284A94 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.6% C 0.128 H 263.4°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#284A94
RGBrgb(40, 74, 148)
HSLhsl(221, 57%, 37%)
HSVhsv(221, 73%, 58%)
CMYKcmyk(73%, 50%, 0%, 42%)
CIE-LABlab(32.89, 14.33, -44.39)
CIE-LCHlch(32.89, 46.64, 287.89°)
OKLaboklab(42.64% -0.0147 -0.1274)
OKLCHoklch(42.64% 0.128 263.4)
XYZxyz(8.6673, 7.4859, 28.9994)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A94 #947228
analogous
#288094 #284A94 #3C2894
triadic
#284A94 #94284A #4A9428
tetradic
#284A94 #942880 #947228 #28943C
square
#284A94 #942880 #947228 #28943C
split-complementary
#284A94 #943C28 #809428
monochromatic
#0E1A34 #1B3264 #284A94 #3562C4 #6286D5

Accessibility & contrast

On white

8.41
#284A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284A94
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A94#FFFFFF#000000##FFFFFF
##284A941.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205397
Deuteranopia (green-blind)
#004993
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #284a94;
/* rgb */ color: rgb(40, 74, 148);
/* oklch */ color: oklch(42.6% 0.128 263.4);
Tailwind
colors: {
  custom: {
    50: '#707cb4',
    500: '#284a94',
    950: '#000000',
  },
}
SCSS
$custom: #284a94;
$custom-light: #707cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#284a94",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 148
  },
  "hsl": {
    "h": 221.111,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42636,
    "c": 0.12827,
    "h": 263.4
  },
  "luminance": 0.07487
}

Semantic roles & 50–950 ramp

primary
#284A94
secondary
#BA9D5E
accent
#B047E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284A94

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

Preview Lab → · Contrast checker → · Palette generator →

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