#283C8B#283C8B

#283C8B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.134 H 268.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#283C8B
RGBrgb(40, 60, 139)
HSLhsl(228, 55%, 35%)
HSVhsv(228, 71%, 55%)
CMYKcmyk(71.2%, 56.8%, 0%, 45.5%)
CIE-LABlab(28.24, 20.39, -46.38)
CIE-LCHlch(28.24, 50.67, 293.73°)
OKLaboklab(38.9% -0.0031 -0.1335)
OKLCHoklch(38.9% 0.134 268.7)
XYZxyz(7.1495, 5.5462, 25.1148)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C8B #8B7728
analogous
#286D8B #283C8B #46288B
triadic
#283C8B #8B283C #3C8B28
tetradic
#283C8B #8B286D #8B7728 #288B46
square
#283C8B #8B286D #8B7728 #288B46
split-complementary
#283C8B #8B4628 #6D8B28
monochromatic
#0D132C #1A275B #283C8B #3651BB #5D74D0

Accessibility & contrast

On white

9.96
#283C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#283C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C8B
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C8B#FFFFFF#000000##FFFFFF
##283C8B1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #283c8b;
/* rgb */ color: rgb(40, 60, 139);
/* oklch */ color: oklch(38.9% 0.134 268.7);
Tailwind
colors: {
  custom: {
    50: '#6f71ad',
    500: '#283c8b',
    950: '#000000',
  },
}
SCSS
$custom: #283c8b;
$custom-light: #6f71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#283c8b",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 139
  },
  "hsl": {
    "h": 227.879,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38902,
    "c": 0.13356,
    "h": 268.7
  },
  "luminance": 0.05547
}

Semantic roles & 50–950 ramp

primary
#283C8B
secondary
#B6A359
accent
#C049DF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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