#283694#283694

#283694 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.154 H 270.7°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#283694
RGBrgb(40, 54, 148)
HSLhsl(232, 57%, 37%)
HSVhsv(232, 73%, 58%)
CMYKcmyk(73%, 63.5%, 0%, 42%)
CIE-LABlab(27.37, 27.87, -53.34)
CIE-LCHlch(27.37, 60.18, 297.59°)
OKLaboklab(38.49% 0.0019 -0.154)
OKLCHoklch(38.49% 0.154 270.7)
XYZxyz(7.5377, 5.2268, 28.6229)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283694 #948628
analogous
#286C94 #283694 #502894
triadic
#283694 #942836 #369428
tetradic
#283694 #94286C #948628 #289450
square
#283694 #94286C #948628 #289450
split-complementary
#283694 #945028 #6C9428
monochromatic
#0E1334 #1B2464 #283694 #3548C4 #6271D5

Accessibility & contrast

On white

10.27
#283694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#283694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283694
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283694#FFFFFF#000000##FFFFFF
##2836941.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #283694;
/* rgb */ color: rgb(40, 54, 148);
/* oklch */ color: oklch(38.5% 0.154 270.7);
Tailwind
colors: {
  custom: {
    50: '#726db4',
    500: '#283694',
    950: '#000000',
  },
}
SCSS
$custom: #283694;
$custom-light: #726db4;
$custom-dark: #000000;
JSON
{
  "hex": "#283694",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 148
  },
  "hsl": {
    "h": 232.222,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3849,
    "c": 0.15404,
    "h": 270.7
  },
  "luminance": 0.05228
}

Semantic roles & 50–950 ramp

primary
#283694
secondary
#BAAE5E
accent
#CD47E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283694

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

Preview Lab → · Contrast checker → · Palette generator →

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