#283C84#283C84

#283C84 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.123 H 268.3°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#283C84
RGBrgb(40, 60, 132)
HSLhsl(227, 53%, 34%)
HSVhsv(227, 70%, 52%)
CMYKcmyk(69.7%, 54.5%, 0%, 48.2%)
CIE-LABlab(27.70, 17.70, -42.90)
CIE-LCHlch(27.70, 46.41, 292.41°)
OKLaboklab(38.33% -0.0036 -0.1233)
OKLCHoklch(38.33% 0.123 268.3)
XYZxyz(6.6544, 5.3481, 22.5069)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C84 #847028
analogous
#286A84 #283C84 #422884
triadic
#283C84 #84283C #3C8428
tetradic
#283C84 #84286A #847028 #288442
square
#283C84 #84286A #847028 #288442
split-complementary
#283C84 #844228 #6A8428
monochromatic
#0C1126 #1A2755 #283C84 #3651B3 #5A73CD

Accessibility & contrast

On white

10.15
#283C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#283C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C84
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C84#FFFFFF#000000##FFFFFF
##283C841.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4687
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #283c84;
/* rgb */ color: rgb(40, 60, 132);
/* oklch */ color: oklch(38.3% 0.123 268.3);
Tailwind
colors: {
  custom: {
    50: '#6e71a8',
    500: '#283c84',
    950: '#000000',
  },
}
SCSS
$custom: #283c84;
$custom-light: #6e71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#283c84",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 132
  },
  "hsl": {
    "h": 226.957,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38332,
    "c": 0.12333,
    "h": 268.3
  },
  "luminance": 0.05349
}

Semantic roles & 50–950 ramp

primary
#283C84
secondary
#B29E56
accent
#BD4BDD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283C84

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

Preview Lab → · Contrast checker → · Palette generator →

#283C84 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva