#283294#283294

#283294 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.159 H 271.7°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#283294
RGBrgb(40, 50, 148)
HSLhsl(234, 57%, 37%)
HSVhsv(234, 73%, 58%)
CMYKcmyk(73%, 66.2%, 0%, 42%)
CIE-LABlab(26.36, 30.52, -55.00)
CIE-LCHlch(26.36, 62.90, 299.03°)
OKLaboklab(37.75% 0.0048 -0.1589)
OKLCHoklch(37.75% 0.159 271.7)
XYZxyz(7.3592, 4.8697, 28.5633)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283294 #948A28
analogous
#286894 #283294 #542894
triadic
#283294 #942832 #329428
tetradic
#283294 #942868 #948A28 #289454
square
#283294 #942868 #948A28 #289454
split-complementary
#283294 #945428 #689428
monochromatic
#0E1134 #1B2264 #283294 #3542C4 #626CD5

Accessibility & contrast

On white

10.64
#283294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#283294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283294
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283294#FFFFFF#000000##FFFFFF
##2832941.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283294;
/* rgb */ color: rgb(40, 50, 148);
/* oklch */ color: oklch(37.7% 0.159 271.7);
Tailwind
colors: {
  custom: {
    50: '#726ab4',
    500: '#283294',
    950: '#000000',
  },
}
SCSS
$custom: #283294;
$custom-light: #726ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#283294",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 234.444,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37747,
    "c": 0.15898,
    "h": 271.7
  },
  "luminance": 0.0487
}

Semantic roles & 50–950 ramp

primary
#283294
secondary
#BAB25E
accent
#D247E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283294

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

Preview Lab → · Contrast checker → · Palette generator →

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