#283C8F#283C8F

#283C8F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.139 H 268.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#283C8F
RGBrgb(40, 60, 143)
HSLhsl(228, 56%, 36%)
HSVhsv(228, 72%, 56%)
CMYKcmyk(72%, 58%, 0%, 43.9%)
CIE-LABlab(28.55, 21.92, -48.34)
CIE-LCHlch(28.55, 53.08, 294.39°)
OKLaboklab(39.24% -0.0029 -0.1393)
OKLCHoklch(39.24% 0.139 268.8)
XYZxyz(7.4472, 5.6653, 26.6823)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C8F #8F7B28
analogous
#286F8F #283C8F #48288F
triadic
#283C8F #8F283C #3C8F28
tetradic
#283C8F #8F286F #8F7B28 #288F48
square
#283C8F #8F286F #8F7B28 #288F48
split-complementary
#283C8F #8F4828 #6F8F28
monochromatic
#0D142F #1B285F #283C8F #3550BF #5F75D2

Accessibility & contrast

On white

9.84
#283C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#283C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C8F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C8F#FFFFFF#000000##FFFFFF
##283C8F1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #283c8f;
/* rgb */ color: rgb(40, 60, 143);
/* oklch */ color: oklch(39.2% 0.139 268.8);
Tailwind
colors: {
  custom: {
    50: '#7071b0',
    500: '#283c8f',
    950: '#000000',
  },
}
SCSS
$custom: #283c8f;
$custom-light: #7071b0;
$custom-dark: #000000;
JSON
{
  "hex": "#283c8f",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 143
  },
  "hsl": {
    "h": 228.35,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39237,
    "c": 0.13931,
    "h": 268.8
  },
  "luminance": 0.05666
}

Semantic roles & 50–950 ramp

primary
#283C8F
secondary
#B8A65B
accent
#C248E0
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #283C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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