#284190#284190

#284190 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.134 H 267.0°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#284190
RGBrgb(40, 65, 144)
HSLhsl(226, 57%, 36%)
HSVhsv(226, 72%, 56%)
CMYKcmyk(72.2%, 54.9%, 0%, 43.5%)
CIE-LABlab(30.02, 18.89, -46.57)
CIE-LCHlch(30.02, 50.26, 292.08°)
OKLaboklab(40.37% -0.0071 -0.134)
OKLCHoklch(40.37% 0.134 267)
XYZxyz(7.7977, 6.2445, 27.1745)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284190 #907728
analogous
#287590 #284190 #432890
triadic
#284190 #902841 #419028
tetradic
#284190 #902875 #907728 #289043
square
#284190 #902875 #907728 #289043
split-complementary
#284190 #904328 #759028
monochromatic
#0D1630 #1B2B60 #284190 #3557C0 #607BD3

Accessibility & contrast

On white

9.34
#284190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#284190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284190
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284190#FFFFFF#000000##FFFFFF
##2841901.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064C93
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #284190;
/* rgb */ color: rgb(40, 65, 144);
/* oklch */ color: oklch(40.4% 0.134 267.0);
Tailwind
colors: {
  custom: {
    50: '#7075b1',
    500: '#284190',
    950: '#000000',
  },
}
SCSS
$custom: #284190;
$custom-light: #7075b1;
$custom-dark: #000000;
JSON
{
  "hex": "#284190",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 144
  },
  "hsl": {
    "h": 225.577,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40366,
    "c": 0.13419,
    "h": 267
  },
  "luminance": 0.06245
}

Semantic roles & 50–950 ramp

primary
#284190
secondary
#B8A25C
accent
#BB48E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #284190

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

Preview Lab → · Contrast checker → · Palette generator →

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