#283196#283196

#283196 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.163 H 271.9°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#283196
RGBrgb(40, 49, 150)
HSLhsl(235, 58%, 37%)
HSVhsv(235, 73%, 59%)
CMYKcmyk(73.3%, 67.3%, 0%, 41.2%)
CIE-LABlab(26.30, 31.91, -56.32)
CIE-LCHlch(26.30, 64.73, 299.53°)
OKLaboklab(37.76% 0.0053 -0.1628)
OKLCHoklch(37.76% 0.163 271.9)
XYZxyz(7.4765, 4.8490, 29.3902)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283196 #968D28
analogous
#286896 #283196 #562896
triadic
#283196 #962831 #319628
tetradic
#283196 #962868 #968D28 #289656
square
#283196 #962868 #968D28 #289656
split-complementary
#283196 #965628 #689628
monochromatic
#0E1135 #1B2166 #283196 #3541C6 #636CD5

Accessibility & contrast

On white

10.66
#283196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#283196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283196
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283196#FFFFFF#000000##FFFFFF
##2831961.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283196;
/* rgb */ color: rgb(40, 49, 150);
/* oklch */ color: oklch(37.8% 0.163 271.9);
Tailwind
colors: {
  custom: {
    50: '#7369b6',
    500: '#283196',
    950: '#000000',
  },
}
SCSS
$custom: #283196;
$custom-light: #7369b6;
$custom-dark: #000000;
JSON
{
  "hex": "#283196",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 235.091,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3776,
    "c": 0.16289,
    "h": 271.9
  },
  "luminance": 0.0485
}

Semantic roles & 50–950 ramp

primary
#283196
secondary
#BBB45F
accent
#D447E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283196

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

Preview Lab → · Contrast checker → · Palette generator →

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