#283192#283192

#283192 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.157 H 272.0°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#283192
RGBrgb(40, 49, 146)
HSLhsl(235, 57%, 36%)
HSVhsv(235, 73%, 57%)
CMYKcmyk(72.6%, 66.4%, 0%, 42.7%)
CIE-LABlab(25.93, 30.44, -54.47)
CIE-LCHlch(25.93, 62.40, 299.20°)
OKLaboklab(37.38% 0.0056 -0.1574)
OKLCHoklch(37.38% 0.157 272)
XYZxyz(7.1599, 4.7224, 27.7227)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283192 #928928
analogous
#286692 #283192 #542892
triadic
#283192 #922831 #319228
tetradic
#283192 #922866 #928928 #289254
square
#283192 #922866 #928928 #289254
split-complementary
#283192 #925428 #669228
monochromatic
#0E1132 #1B2162 #283192 #3541C2 #616BD4

Accessibility & contrast

On white

10.80
#283192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#283192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283192
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283192#FFFFFF#000000##FFFFFF
##2831921.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #283192;
/* rgb */ color: rgb(40, 49, 146);
/* oklch */ color: oklch(37.4% 0.157 272.0);
Tailwind
colors: {
  custom: {
    50: '#7269b3',
    500: '#283192',
    950: '#000000',
  },
}
SCSS
$custom: #283192;
$custom-light: #7269b3;
$custom-dark: #000000;
JSON
{
  "hex": "#283192",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 234.906,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37375,
    "c": 0.15748,
    "h": 272
  },
  "luminance": 0.04723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #283192

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

Preview Lab → · Contrast checker → · Palette generator →

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