#283597#283597

#283597 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.159 H 270.9°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#283597
RGBrgb(40, 53, 151)
HSLhsl(233, 58%, 37%)
HSVhsv(233, 74%, 59%)
CMYKcmyk(73.5%, 64.9%, 0%, 40.8%)
CIE-LABlab(27.38, 29.66, -55.16)
CIE-LCHlch(27.38, 62.63, 298.26°)
OKLaboklab(38.58% 0.0025 -0.1594)
OKLCHoklch(38.58% 0.159 270.9)
XYZxyz(7.7322, 5.2309, 29.8743)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283597 #978A28
analogous
#286C97 #283597 #532897
triadic
#283597 #972835 #359728
tetradic
#283597 #97286C #978A28 #289753
square
#283597 #97286C #978A28 #289753
split-complementary
#283597 #975328 #6C9728
monochromatic
#0E1336 #1B2467 #283597 #3546C7 #6471D6

Accessibility & contrast

On white

10.26
#283597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283597
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283597#FFFFFF#000000##FFFFFF
##2835971.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #283597;
/* rgb */ color: rgb(40, 53, 151);
/* oklch */ color: oklch(38.6% 0.159 270.9);
Tailwind
colors: {
  custom: {
    50: '#736cb6',
    500: '#283597',
    950: '#000000',
  },
}
SCSS
$custom: #283597;
$custom-light: #736cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#283597",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 232.973,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3858,
    "c": 0.1594,
    "h": 270.9
  },
  "luminance": 0.05232
}

Semantic roles & 50–950 ramp

primary
#283597
secondary
#BCB15F
accent
#CF46E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283597

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

Preview Lab → · Contrast checker → · Palette generator →

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