#284C94#284C94

#284C94 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.1% C 0.126 H 262.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#284C94
RGBrgb(40, 76, 148)
HSLhsl(220, 57%, 37%)
HSVhsv(220, 73%, 58%)
CMYKcmyk(73%, 48.6%, 0%, 42%)
CIE-LABlab(33.47, 12.98, -43.45)
CIE-LCHlch(33.47, 45.35, 286.63°)
OKLaboklab(43.08% -0.0166 -0.1246)
OKLCHoklch(43.08% 0.126 262.4)
XYZxyz(8.8029, 7.7572, 29.0446)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284C94 #947028
analogous
#288294 #284C94 #3A2894
triadic
#284C94 #94284C #4C9428
tetradic
#284C94 #942882 #947028 #28943A
square
#284C94 #942882 #947028 #28943A
split-complementary
#284C94 #943A28 #829428
monochromatic
#0E1B34 #1B3364 #284C94 #3565C4 #6288D5

Accessibility & contrast

On white

8.23
#284C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#284C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284C94
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284C94#FFFFFF#000000##FFFFFF
##284C941.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255497
Deuteranopia (green-blind)
#084A93
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #284c94;
/* rgb */ color: rgb(40, 76, 148);
/* oklch */ color: oklch(43.1% 0.126 262.4);
Tailwind
colors: {
  custom: {
    50: '#707db4',
    500: '#284c94',
    950: '#000000',
  },
}
SCSS
$custom: #284c94;
$custom-light: #707db4;
$custom-dark: #000000;
JSON
{
  "hex": "#284c94",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 148
  },
  "hsl": {
    "h": 220,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43083,
    "c": 0.12572,
    "h": 262.4
  },
  "luminance": 0.07758
}

Semantic roles & 50–950 ramp

primary
#284C94
secondary
#BA9B5E
accent
#AD47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #284C94

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

Preview Lab → · Contrast checker → · Palette generator →

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