#283387#283387

#283387 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.140 H 271.9°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#283387
RGBrgb(40, 51, 135)
HSLhsl(233, 54%, 34%)
HSVhsv(233, 70%, 53%)
CMYKcmyk(70.4%, 62.2%, 0%, 47.1%)
CIE-LABlab(25.46, 25.01, -48.41)
CIE-LCHlch(25.46, 54.49, 297.32°)
OKLaboklab(36.73% 0.0046 -0.1396)
OKLCHoklch(36.73% 0.14 271.9)
XYZxyz(6.4306, 4.5674, 23.4597)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283387 #877C28
analogous
#286387 #283387 #4D2887
triadic
#283387 #872833 #338728
tetradic
#283387 #872863 #877C28 #28874D
square
#283387 #872863 #877C28 #28874D
split-complementary
#283387 #874D28 #638728
monochromatic
#0C0F29 #1A2158 #283387 #3645B6 #5B68CE

Accessibility & contrast

On white

10.97
#283387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#283387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283387
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283387#FFFFFF#000000##FFFFFF
##2833871.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#003885
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #283387;
/* rgb */ color: rgb(40, 51, 135);
/* oklch */ color: oklch(36.7% 0.140 271.9);
Tailwind
colors: {
  custom: {
    50: '#6f6aab',
    500: '#283387',
    950: '#000000',
  },
}
SCSS
$custom: #283387;
$custom-light: #6f6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#283387",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 135
  },
  "hsl": {
    "h": 233.053,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36732,
    "c": 0.13967,
    "h": 271.9
  },
  "luminance": 0.04568
}

Semantic roles & 50–950 ramp

primary
#283387
secondary
#B4A957
accent
#CD4ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #283387

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

Preview Lab → · Contrast checker → · Palette generator →

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