#283193#283193

#283193 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.159 H 272.0°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#283193
RGBrgb(40, 49, 147)
HSLhsl(235, 57%, 37%)
HSVhsv(235, 73%, 58%)
CMYKcmyk(72.8%, 66.7%, 0%, 42.4%)
CIE-LABlab(26.02, 30.81, -54.94)
CIE-LCHlch(26.02, 62.99, 299.28°)
OKLaboklab(37.47% 0.0056 -0.1587)
OKLCHoklch(37.47% 0.159 272)
XYZxyz(7.2381, 4.7536, 28.1342)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283193 #938A28
analogous
#286793 #283193 #552893
triadic
#283193 #932831 #319328
tetradic
#283193 #932867 #938A28 #289355
square
#283193 #932867 #938A28 #289355
split-complementary
#283193 #935528 #679328
monochromatic
#0E1133 #1B2163 #283193 #3541C3 #616BD4

Accessibility & contrast

On white

10.76
#283193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#283193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283193
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283193#FFFFFF#000000##FFFFFF
##2831931.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283193;
/* rgb */ color: rgb(40, 49, 147);
/* oklch */ color: oklch(37.5% 0.159 272.0);
Tailwind
colors: {
  custom: {
    50: '#7269b4',
    500: '#283193',
    950: '#000000',
  },
}
SCSS
$custom: #283193;
$custom-light: #7269b4;
$custom-dark: #000000;
JSON
{
  "hex": "#283193",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 147
  },
  "hsl": {
    "h": 234.953,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37471,
    "c": 0.15884,
    "h": 272
  },
  "luminance": 0.04754
}

Semantic roles & 50–950 ramp

primary
#283193
secondary
#BAB25D
accent
#D447E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283193

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

Preview Lab → · Contrast checker → · Palette generator →

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