#283D76#283D76

#283D76 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.5% C 0.101 H 266.4°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#283D76
RGBrgb(40, 61, 118)
HSLhsl(224, 49%, 31%)
HSVhsv(224, 66%, 46%)
CMYKcmyk(66.1%, 48.3%, 0%, 53.7%)
CIE-LABlab(27.01, 11.62, -35.24)
CIE-LCHlch(27.01, 37.10, 288.25°)
OKLaboklab(37.48% -0.0063 -0.1007)
OKLCHoklch(37.48% 0.101 266.4)
XYZxyz(5.8127, 5.0961, 17.8133)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D76 #766128
analogous
#286476 #283D76 #3A2876
triadic
#283D76 #76283D #3D7628
tetradic
#283D76 #762864 #766128 #28763A
square
#283D76 #762864 #766128 #28763A
split-complementary
#283D76 #763A28 #647628
monochromatic
#090E1B #192548 #283D76 #3755A4 #5472C5

Accessibility & contrast

On white

10.40
#283D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#283D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D76
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D76#FFFFFF#000000##FFFFFF
##283D761.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214478
Deuteranopia (green-blind)
#133C75
Tritanopia (blue-blind)
#004A53
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #283d76;
/* rgb */ color: rgb(40, 61, 118);
/* oklch */ color: oklch(37.5% 0.101 266.4);
Tailwind
colors: {
  custom: {
    50: '#6b729e',
    500: '#283d76',
    950: '#000000',
  },
}
SCSS
$custom: #283d76;
$custom-light: #6b729e;
$custom-dark: #000000;
JSON
{
  "hex": "#283d76",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 118
  },
  "hsl": {
    "h": 223.846,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37484,
    "c": 0.10091,
    "h": 266.4
  },
  "luminance": 0.05097
}

Semantic roles & 50–950 ramp

primary
#283D76
secondary
#A89152
accent
#B44FD9
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #283D76

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

Preview Lab → · Contrast checker → · Palette generator →

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