#284192#284192

#284192 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.137 H 267.1°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#284192
RGBrgb(40, 65, 146)
HSLhsl(226, 57%, 36%)
HSVhsv(226, 73%, 57%)
CMYKcmyk(72.6%, 55.5%, 0%, 42.7%)
CIE-LABlab(30.17, 19.66, -47.56)
CIE-LCHlch(30.17, 51.46, 292.47°)
OKLaboklab(40.53% -0.007 -0.1369)
OKLCHoklch(40.53% 0.137 267.1)
XYZxyz(7.9519, 6.3062, 27.9867)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284192 #927928
analogous
#287692 #284192 #442892
triadic
#284192 #922841 #419228
tetradic
#284192 #922876 #927928 #289244
square
#284192 #922876 #927928 #289244
split-complementary
#284192 #924428 #769228
monochromatic
#0E1632 #1B2C62 #284192 #3556C2 #617CD4

Accessibility & contrast

On white

9.29
#284192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#284192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284192
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284192#FFFFFF#000000##FFFFFF
##2841921.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #284192;
/* rgb */ color: rgb(40, 65, 146);
/* oklch */ color: oklch(40.5% 0.137 267.1);
Tailwind
colors: {
  custom: {
    50: '#7175b3',
    500: '#284192',
    950: '#000000',
  },
}
SCSS
$custom: #284192;
$custom-light: #7175b3;
$custom-dark: #000000;
JSON
{
  "hex": "#284192",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 146
  },
  "hsl": {
    "h": 225.849,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40528,
    "c": 0.13707,
    "h": 267.1
  },
  "luminance": 0.06307
}

Semantic roles & 50–950 ramp

primary
#284192
secondary
#B9A35D
accent
#BC48E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #284192

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

Preview Lab → · Contrast checker → · Palette generator →

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