#283190#283190

#283190 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.155 H 272.1°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#283190
RGBrgb(40, 49, 144)
HSLhsl(235, 57%, 36%)
HSVhsv(235, 72%, 56%)
CMYKcmyk(72.2%, 66%, 0%, 43.5%)
CIE-LABlab(25.75, 29.70, -53.54)
CIE-LCHlch(25.75, 61.22, 299.02°)
OKLaboklab(37.19% 0.0058 -0.1546)
OKLCHoklch(37.19% 0.155 272.1)
XYZxyz(7.0057, 4.6607, 26.9105)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283190 #908728
analogous
#286590 #283190 #532890
triadic
#283190 #902831 #319028
tetradic
#283190 #902865 #908728 #289053
square
#283190 #902865 #908728 #289053
split-complementary
#283190 #905328 #659028
monochromatic
#0D1030 #1B2160 #283190 #3541C0 #606AD3

Accessibility & contrast

On white

10.87
#283190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#283190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283190
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283190#FFFFFF#000000##FFFFFF
##2831901.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #283190;
/* rgb */ color: rgb(40, 49, 144);
/* oklch */ color: oklch(37.2% 0.155 272.1);
Tailwind
colors: {
  custom: {
    50: '#7169b1',
    500: '#283190',
    950: '#000000',
  },
}
SCSS
$custom: #283190;
$custom-light: #7169b1;
$custom-dark: #000000;
JSON
{
  "hex": "#283190",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 144
  },
  "hsl": {
    "h": 234.808,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37185,
    "c": 0.15476,
    "h": 272.1
  },
  "luminance": 0.04661
}

Semantic roles & 50–950 ramp

primary
#283190
secondary
#B8B05C
accent
#D348E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283190

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

Preview Lab → · Contrast checker → · Palette generator →

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