#284A9C#284A9C

#284A9C is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.2% C 0.140 H 264.4°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#284A9C
RGBrgb(40, 74, 156)
HSLhsl(222, 59%, 38%)
HSVhsv(222, 74%, 61%)
CMYKcmyk(74.4%, 52.6%, 0%, 38.8%)
CIE-LABlab(33.45, 17.43, -48.33)
CIE-LCHlch(33.45, 51.38, 289.83°)
OKLaboklab(43.25% -0.0137 -0.139)
OKLCHoklch(43.25% 0.14 264.4)
XYZxyz(9.3225, 7.7480, 32.4502)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A9C #9C7A28
analogous
#28849C #284A9C #40289C
triadic
#284A9C #9C284A #4A9C28
tetradic
#284A9C #9C2884 #9C7A28 #289C40
square
#284A9C #9C2884 #9C7A28 #289C40
split-complementary
#284A9C #9C4028 #849C28
monochromatic
#0F1C3B #1C336B #284A9C #3662CB #6788D8

Accessibility & contrast

On white

8.24
#284A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284A9C
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A9C#FFFFFF#000000##FFFFFF
##284A9C1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14549F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #284a9c;
/* rgb */ color: rgb(40, 74, 156);
/* oklch */ color: oklch(43.2% 0.140 264.4);
Tailwind
colors: {
  custom: {
    50: '#727cba',
    500: '#284a9c',
    950: '#000000',
  },
}
SCSS
$custom: #284a9c;
$custom-light: #727cba;
$custom-dark: #000000;
JSON
{
  "hex": "#284a9c",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 156
  },
  "hsl": {
    "h": 222.414,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43246,
    "c": 0.1397,
    "h": 264.4
  },
  "luminance": 0.07749
}

Semantic roles & 50–950 ramp

primary
#284A9C
secondary
#BEA362
accent
#B445E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #284A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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