#283296#283296

#283296 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.162 H 271.6°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#283296
RGBrgb(40, 50, 150)
HSLhsl(235, 58%, 37%)
HSVhsv(235, 73%, 59%)
CMYKcmyk(73.3%, 66.7%, 0%, 41.2%)
CIE-LABlab(26.54, 31.26, -55.92)
CIE-LCHlch(26.54, 64.06, 299.20°)
OKLaboklab(37.94% 0.0046 -0.1616)
OKLCHoklch(37.94% 0.162 271.6)
XYZxyz(7.5188, 4.9336, 29.4043)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283296 #968C28
analogous
#286996 #283296 #552896
triadic
#283296 #962832 #329628
tetradic
#283296 #962869 #968C28 #289655
square
#283296 #962869 #968C28 #289655
split-complementary
#283296 #965528 #699628
monochromatic
#0E1235 #1B2266 #283296 #3542C6 #636DD5

Accessibility & contrast

On white

10.57
#283296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#283296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283296
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283296#FFFFFF#000000##FFFFFF
##2832961.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283296;
/* rgb */ color: rgb(40, 50, 150);
/* oklch */ color: oklch(37.9% 0.162 271.6);
Tailwind
colors: {
  custom: {
    50: '#736ab6',
    500: '#283296',
    950: '#000000',
  },
}
SCSS
$custom: #283296;
$custom-light: #736ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#283296",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 234.545,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37939,
    "c": 0.1617,
    "h": 271.6
  },
  "luminance": 0.04934
}

Semantic roles & 50–950 ramp

primary
#283296
secondary
#BBB35F
accent
#D347E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283296

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

Preview Lab → · Contrast checker → · Palette generator →

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