#283195#283195

#283195 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.162 H 271.9°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#283195
RGBrgb(40, 49, 149)
HSLhsl(235, 58%, 37%)
HSVhsv(235, 73%, 58%)
CMYKcmyk(73.2%, 67.1%, 0%, 41.6%)
CIE-LABlab(26.21, 31.54, -55.86)
CIE-LCHlch(26.21, 64.15, 299.45°)
OKLaboklab(37.66% 0.0054 -0.1615)
OKLCHoklch(37.66% 0.162 271.9)
XYZxyz(7.3964, 4.8169, 28.9679)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283195 #958C28
analogous
#286895 #283195 #562895
triadic
#283195 #952831 #319528
tetradic
#283195 #952868 #958C28 #289556
square
#283195 #952868 #958C28 #289556
split-complementary
#283195 #955628 #689528
monochromatic
#0E1135 #1B2165 #283195 #3541C5 #626CD5

Accessibility & contrast

On white

10.69
#283195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#283195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283195
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283195#FFFFFF#000000##FFFFFF
##2831951.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283195;
/* rgb */ color: rgb(40, 49, 149);
/* oklch */ color: oklch(37.7% 0.162 271.9);
Tailwind
colors: {
  custom: {
    50: '#7369b5',
    500: '#283195',
    950: '#000000',
  },
}
SCSS
$custom: #283195;
$custom-light: #7369b5;
$custom-dark: #000000;
JSON
{
  "hex": "#283195",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 149
  },
  "hsl": {
    "h": 235.046,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37663,
    "c": 0.16155,
    "h": 271.9
  },
  "luminance": 0.04818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #283195

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

Preview Lab → · Contrast checker → · Palette generator →

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