#283194#283194

#283194 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.160 H 272.0°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#283194
RGBrgb(40, 49, 148)
HSLhsl(235, 57%, 37%)
HSVhsv(235, 73%, 58%)
CMYKcmyk(73%, 66.9%, 0%, 42%)
CIE-LABlab(26.11, 31.18, -55.40)
CIE-LCHlch(26.11, 63.57, 299.37°)
OKLaboklab(37.57% 0.0055 -0.1601)
OKLCHoklch(37.57% 0.16 272)
XYZxyz(7.3169, 4.7851, 28.5492)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283194 #948B28
analogous
#286794 #283194 #552894
triadic
#283194 #942831 #319428
tetradic
#283194 #942867 #948B28 #289455
square
#283194 #942867 #948B28 #289455
split-complementary
#283194 #945528 #679428
monochromatic
#0E1134 #1B2164 #283194 #3541C4 #626BD5

Accessibility & contrast

On white

10.73
#283194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283194
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283194#FFFFFF#000000##FFFFFF
##2831941.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283194;
/* rgb */ color: rgb(40, 49, 148);
/* oklch */ color: oklch(37.6% 0.160 272.0);
Tailwind
colors: {
  custom: {
    50: '#7269b4',
    500: '#283194',
    950: '#000000',
  },
}
SCSS
$custom: #283194;
$custom-light: #7269b4;
$custom-dark: #000000;
JSON
{
  "hex": "#283194",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 148
  },
  "hsl": {
    "h": 235,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37567,
    "c": 0.16019,
    "h": 272
  },
  "luminance": 0.04786
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #283194

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

Preview Lab → · Contrast checker → · Palette generator →

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