#284099#284099

#284099 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.148 H 267.8°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#284099
RGBrgb(40, 64, 153)
HSLhsl(227, 59%, 38%)
HSVhsv(227, 74%, 60%)
CMYKcmyk(73.9%, 58.2%, 0%, 40%)
CIE-LABlab(30.44, 23.04, -51.39)
CIE-LCHlch(30.44, 56.32, 294.14°)
OKLaboklab(40.9% -0.0057 -0.1482)
OKLCHoklch(40.9% 0.148 267.8)
XYZxyz(8.4562, 6.4169, 30.9237)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284099 #998128
analogous
#287899 #284099 #492899
triadic
#284099 #992840 #409928
tetradic
#284099 #992878 #998128 #289949
square
#284099 #992878 #998128 #289949
split-complementary
#284099 #994928 #789928
monochromatic
#0F1738 #1B2C68 #284099 #3554CA #657DD7

Accessibility & contrast

On white

9.20
#284099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#284099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284099
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284099#FFFFFF#000000##FFFFFF
##2840991.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #284099;
/* rgb */ color: rgb(40, 64, 153);
/* oklch */ color: oklch(40.9% 0.148 267.8);
Tailwind
colors: {
  custom: {
    50: '#7274b8',
    500: '#284099',
    950: '#000000',
  },
}
SCSS
$custom: #284099;
$custom-light: #7274b8;
$custom-dark: #000000;
JSON
{
  "hex": "#284099",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 227.257,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40902,
    "c": 0.1483,
    "h": 267.8
  },
  "luminance": 0.06418
}

Semantic roles & 50–950 ramp

primary
#284099
secondary
#BDA960
accent
#C146E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #284099

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

Preview Lab → · Contrast checker → · Palette generator →

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