#283394#283394

#283394 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.158 H 271.5°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#283394
RGBrgb(40, 51, 148)
HSLhsl(234, 57%, 37%)
HSVhsv(234, 73%, 58%)
CMYKcmyk(73%, 65.5%, 0%, 42%)
CIE-LABlab(26.61, 29.86, -54.59)
CIE-LCHlch(26.61, 62.22, 298.68°)
OKLaboklab(37.93% 0.0041 -0.1577)
OKLCHoklch(37.93% 0.158 271.5)
XYZxyz(7.4024, 4.9561, 28.5777)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283394 #948928
analogous
#286994 #283394 #532894
triadic
#283394 #942833 #339428
tetradic
#283394 #942869 #948928 #289453
square
#283394 #942869 #948928 #289453
split-complementary
#283394 #945328 #699428
monochromatic
#0E1234 #1B2264 #283394 #3544C4 #626ED5

Accessibility & contrast

On white

10.55
#283394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283394
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283394#FFFFFF#000000##FFFFFF
##2833941.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283394;
/* rgb */ color: rgb(40, 51, 148);
/* oklch */ color: oklch(37.9% 0.158 271.5);
Tailwind
colors: {
  custom: {
    50: '#726ab4',
    500: '#283394',
    950: '#000000',
  },
}
SCSS
$custom: #283394;
$custom-light: #726ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#283394",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 148
  },
  "hsl": {
    "h": 233.889,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3793,
    "c": 0.15776,
    "h": 271.5
  },
  "luminance": 0.04957
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #283394

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

Preview Lab → · Contrast checker → · Palette generator →

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