#284994#284994

#284994 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.4% C 0.130 H 263.9°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#284994
RGBrgb(40, 73, 148)
HSLhsl(222, 57%, 37%)
HSVhsv(222, 73%, 58%)
CMYKcmyk(73%, 50.7%, 0%, 42%)
CIE-LABlab(32.60, 15.00, -44.86)
CIE-LCHlch(32.60, 47.30, 288.49°)
OKLaboklab(42.42% -0.0138 -0.1288)
OKLCHoklch(42.42% 0.13 263.9)
XYZxyz(8.6010, 7.3534, 28.9773)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284994 #947328
analogous
#287F94 #284994 #3D2894
triadic
#284994 #942849 #499428
tetradic
#284994 #94287F #947328 #28943D
square
#284994 #94287F #947328 #28943D
split-complementary
#284994 #943D28 #7F9428
monochromatic
#0E1934 #1B3164 #284994 #3561C4 #6285D5

Accessibility & contrast

On white

8.50
#284994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#284994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284994
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284994#FFFFFF#000000##FFFFFF
##2849941.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5297
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #284994;
/* rgb */ color: rgb(40, 73, 148);
/* oklch */ color: oklch(42.4% 0.130 263.9);
Tailwind
colors: {
  custom: {
    50: '#717bb4',
    500: '#284994',
    950: '#000000',
  },
}
SCSS
$custom: #284994;
$custom-light: #717bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#284994",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 148
  },
  "hsl": {
    "h": 221.667,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42415,
    "c": 0.12955,
    "h": 263.9
  },
  "luminance": 0.07354
}

Semantic roles & 50–950 ramp

primary
#284994
secondary
#BA9E5E
accent
#B247E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284994

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

Preview Lab → · Contrast checker → · Palette generator →

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