#283C8E#283C8E

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

Color values

HEX#283C8E
RGBrgb(40, 60, 142)
HSLhsl(228, 56%, 36%)
HSVhsv(228, 72%, 56%)
CMYKcmyk(71.8%, 57.7%, 0%, 44.3%)
CIE-LABlab(28.47, 21.54, -47.85)
CIE-LCHlch(28.47, 52.48, 294.23°)
OKLaboklab(39.15% -0.0029 -0.1378)
OKLCHoklch(39.15% 0.138 268.8)
XYZxyz(7.3717, 5.6351, 26.2851)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C8E #8E7A28
analogous
#286F8E #283C8E #47288E
triadic
#283C8E #8E283C #3C8E28
tetradic
#283C8E #8E286F #8E7A28 #288E47
square
#283C8E #8E286F #8E7A28 #288E47
split-complementary
#283C8E #8E4728 #6F8E28
monochromatic
#0D142F #1B285E #283C8E #3550BE #5F75D2

Accessibility & contrast

On white

9.87
#283C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283C8E
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C8E#FFFFFF#000000##FFFFFF
##283C8E1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283c8e;
/* rgb */ color: rgb(40, 60, 142);
/* oklch */ color: oklch(39.2% 0.138 268.8);
Tailwind
colors: {
  custom: {
    50: '#7071b0',
    500: '#283c8e',
    950: '#000000',
  },
}
SCSS
$custom: #283c8e;
$custom-light: #7071b0;
$custom-dark: #000000;
JSON
{
  "hex": "#283c8e",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 228.235,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39152,
    "c": 0.13788,
    "h": 268.8
  },
  "luminance": 0.05636
}

Semantic roles & 50–950 ramp

primary
#283C8E
secondary
#B7A55B
accent
#C248DF
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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