#284199#284199

#284199 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.147 H 267.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#284199
RGBrgb(40, 65, 153)
HSLhsl(227, 59%, 38%)
HSVhsv(227, 74%, 60%)
CMYKcmyk(73.9%, 57.5%, 0%, 40%)
CIE-LABlab(30.71, 22.36, -50.95)
CIE-LCHlch(30.71, 55.64, 293.69°)
OKLaboklab(41.11% -0.0065 -0.1469)
OKLCHoklch(41.11% 0.147 267.4)
XYZxyz(8.5131, 6.5307, 30.9427)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284199 #998028
analogous
#287999 #284199 #482899
triadic
#284199 #992841 #419928
tetradic
#284199 #992879 #998028 #289948
square
#284199 #992879 #998028 #289948
split-complementary
#284199 #994828 #799928
monochromatic
#0F1838 #1B2C68 #284199 #3556CA #657ED7

Accessibility & contrast

On white

9.11
#284199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#284199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284199
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284199#FFFFFF#000000##FFFFFF
##2841991.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #284199;
/* rgb */ color: rgb(40, 65, 153);
/* oklch */ color: oklch(41.1% 0.147 267.4);
Tailwind
colors: {
  custom: {
    50: '#7275b8',
    500: '#284199',
    950: '#000000',
  },
}
SCSS
$custom: #284199;
$custom-light: #7275b8;
$custom-dark: #000000;
JSON
{
  "hex": "#284199",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 226.726,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41106,
    "c": 0.14702,
    "h": 267.4
  },
  "luminance": 0.06532
}

Semantic roles & 50–950 ramp

primary
#284199
secondary
#BDA860
accent
#BF46E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #284199

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

Preview Lab → · Contrast checker → · Palette generator →

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