#283D8B#283D8B

#283D8B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.132 H 268.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#283D8B
RGBrgb(40, 61, 139)
HSLhsl(227, 55%, 35%)
HSVhsv(227, 71%, 55%)
CMYKcmyk(71.2%, 56.1%, 0%, 45.5%)
CIE-LABlab(28.52, 19.70, -45.93)
CIE-LCHlch(28.52, 49.98, 293.22°)
OKLaboklab(39.11% -0.004 -0.1322)
OKLCHoklch(39.11% 0.132 268.3)
XYZxyz(7.2024, 5.6520, 25.1325)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D8B #8B7628
analogous
#286E8B #283D8B #45288B
triadic
#283D8B #8B283D #3D8B28
tetradic
#283D8B #8B286E #8B7628 #288B45
square
#283D8B #8B286E #8B7628 #288B45
split-complementary
#283D8B #8B4528 #6E8B28
monochromatic
#0D132C #1A285B #283D8B #3652BB #5D75D0

Accessibility & contrast

On white

9.86
#283D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283D8B
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D8B#FFFFFF#000000##FFFFFF
##283D8B1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283d8b;
/* rgb */ color: rgb(40, 61, 139);
/* oklch */ color: oklch(39.1% 0.132 268.3);
Tailwind
colors: {
  custom: {
    50: '#6f72ad',
    500: '#283d8b',
    950: '#000000',
  },
}
SCSS
$custom: #283d8b;
$custom-light: #6f72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#283d8b",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 139
  },
  "hsl": {
    "h": 227.273,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39112,
    "c": 0.13223,
    "h": 268.3
  },
  "luminance": 0.05653
}

Semantic roles & 50–950 ramp

primary
#283D8B
secondary
#B6A259
accent
#BF49DF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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