#283C8D#283C8D

#283C8D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.136 H 268.8°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#283C8D
RGBrgb(40, 60, 141)
HSLhsl(228, 56%, 35%)
HSVhsv(228, 72%, 55%)
CMYKcmyk(71.6%, 57.4%, 0%, 44.7%)
CIE-LABlab(28.39, 21.15, -47.37)
CIE-LCHlch(28.39, 51.88, 294.07°)
OKLaboklab(39.07% -0.003 -0.1364)
OKLCHoklch(39.07% 0.136 268.8)
XYZxyz(7.2970, 5.6052, 25.8915)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C8D #8D7928
analogous
#286E8D #283C8D #46288D
triadic
#283C8D #8D283C #3C8D28
tetradic
#283C8D #8D286E #8D7928 #288D46
square
#283C8D #8D286E #8D7928 #288D46
split-complementary
#283C8D #8D4628 #6E8D28
monochromatic
#0D132E #1A285D #283C8D #3650BD #5E75D1

Accessibility & contrast

On white

9.90
#283C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#283C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C8D
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C8D#FFFFFF#000000##FFFFFF
##283C8D1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #283c8d;
/* rgb */ color: rgb(40, 60, 141);
/* oklch */ color: oklch(39.1% 0.136 268.8);
Tailwind
colors: {
  custom: {
    50: '#7071af',
    500: '#283c8d',
    950: '#000000',
  },
}
SCSS
$custom: #283c8d;
$custom-light: #7071af;
$custom-dark: #000000;
JSON
{
  "hex": "#283c8d",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 228.119,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39069,
    "c": 0.13644,
    "h": 268.8
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#283C8D
secondary
#B7A45A
accent
#C149DF
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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