#283D8E#283D8E

#283D8E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.137 H 268.4°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#283D8E
RGBrgb(40, 61, 142)
HSLhsl(228, 56%, 36%)
HSVhsv(228, 72%, 56%)
CMYKcmyk(71.8%, 57%, 0%, 44.3%)
CIE-LABlab(28.75, 20.85, -47.41)
CIE-LCHlch(28.75, 51.79, 293.74°)
OKLaboklab(39.36% -0.0038 -0.1365)
OKLCHoklch(39.36% 0.137 268.4)
XYZxyz(7.4246, 5.7409, 26.3028)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D8E #8E7928
analogous
#28708E #283D8E #46288E
triadic
#283D8E #8E283D #3D8E28
tetradic
#283D8E #8E2870 #8E7928 #288E46
square
#283D8E #8E2870 #8E7928 #288E46
split-complementary
#283D8E #8E4628 #708E28
monochromatic
#0D142F #1B285E #283D8E #3552BE #5F76D2

Accessibility & contrast

On white

9.77
#283D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#283D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D8E
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D8E#FFFFFF#000000##FFFFFF
##283D8E1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #283d8e;
/* rgb */ color: rgb(40, 61, 142);
/* oklch */ color: oklch(39.4% 0.137 268.4);
Tailwind
colors: {
  custom: {
    50: '#7072b0',
    500: '#283d8e',
    950: '#000000',
  },
}
SCSS
$custom: #283d8e;
$custom-light: #7072b0;
$custom-dark: #000000;
JSON
{
  "hex": "#283d8e",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 142
  },
  "hsl": {
    "h": 227.647,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3936,
    "c": 0.13656,
    "h": 268.4
  },
  "luminance": 0.05742
}

Semantic roles & 50–950 ramp

primary
#283D8E
secondary
#B7A45B
accent
#C048DF
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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