#283494#283494

#283494 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.157 H 271.2°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#283494
RGBrgb(40, 52, 148)
HSLhsl(233, 57%, 37%)
HSVhsv(233, 73%, 58%)
CMYKcmyk(73%, 64.9%, 0%, 42%)
CIE-LABlab(26.86, 29.20, -54.18)
CIE-LCHlch(26.86, 61.54, 298.33°)
OKLaboklab(38.11% 0.0034 -0.1565)
OKLCHoklch(38.11% 0.157 271.2)
XYZxyz(7.4465, 5.0445, 28.5925)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283494 #948828
analogous
#286A94 #283494 #522894
triadic
#283494 #942834 #349428
tetradic
#283494 #94286A #948828 #289452
square
#283494 #94286A #948828 #289452
split-complementary
#283494 #945228 #6A9428
monochromatic
#0E1234 #1B2364 #283494 #3545C4 #626FD5

Accessibility & contrast

On white

10.45
#283494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#283494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283494
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283494#FFFFFF#000000##FFFFFF
##2834941.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283494;
/* rgb */ color: rgb(40, 52, 148);
/* oklch */ color: oklch(38.1% 0.157 271.2);
Tailwind
colors: {
  custom: {
    50: '#726bb4',
    500: '#283494',
    950: '#000000',
  },
}
SCSS
$custom: #283494;
$custom-light: #726bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#283494",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 148
  },
  "hsl": {
    "h": 233.333,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38114,
    "c": 0.15654,
    "h": 271.2
  },
  "luminance": 0.05045
}

Semantic roles & 50–950 ramp

primary
#283494
secondary
#BAB05E
accent
#D047E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283494

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

Preview Lab → · Contrast checker → · Palette generator →

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