#283395#283395

#283395 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.159 H 271.4°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#283395
RGBrgb(40, 51, 149)
HSLhsl(234, 58%, 37%)
HSVhsv(234, 73%, 58%)
CMYKcmyk(73.2%, 65.8%, 0%, 41.6%)
CIE-LABlab(26.70, 30.23, -55.05)
CIE-LCHlch(26.70, 62.81, 298.77°)
OKLaboklab(38.02% 0.004 -0.1591)
OKLCHoklch(38.02% 0.159 271.4)
XYZxyz(7.4819, 4.9879, 28.9964)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283395 #958A28
analogous
#286A95 #283395 #542895
triadic
#283395 #952833 #339528
tetradic
#283395 #95286A #958A28 #289554
square
#283395 #95286A #958A28 #289554
split-complementary
#283395 #955428 #6A9528
monochromatic
#0E1235 #1B2265 #283395 #3544C5 #626ED5

Accessibility & contrast

On white

10.51
#283395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#283395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283395
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283395#FFFFFF#000000##FFFFFF
##2833951.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283395;
/* rgb */ color: rgb(40, 51, 149);
/* oklch */ color: oklch(38.0% 0.159 271.4);
Tailwind
colors: {
  custom: {
    50: '#726ab5',
    500: '#283395',
    950: '#000000',
  },
}
SCSS
$custom: #283395;
$custom-light: #726ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#283395",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 149
  },
  "hsl": {
    "h": 233.945,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38024,
    "c": 0.15912,
    "h": 271.4
  },
  "luminance": 0.04989
}

Semantic roles & 50–950 ramp

primary
#283395
secondary
#BBB15E
accent
#D147E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283395

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

Preview Lab → · Contrast checker → · Palette generator →

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