#283B76#283B76

#283B76 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.0% C 0.104 H 267.7°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#283B76
RGBrgb(40, 59, 118)
HSLhsl(225, 49%, 31%)
HSVhsv(225, 66%, 46%)
CMYKcmyk(66.1%, 50%, 0%, 53.7%)
CIE-LABlab(26.41, 13.00, -36.19)
CIE-LCHlch(26.41, 38.46, 289.76°)
OKLaboklab(37.03% -0.0041 -0.1036)
OKLCHoklch(37.03% 0.104 267.7)
XYZxyz(5.7079, 4.8865, 17.7784)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B76 #766328
analogous
#286276 #283B76 #3C2876
triadic
#283B76 #76283B #3B7628
tetradic
#283B76 #762862 #766328 #28763C
square
#283B76 #762862 #766328 #28763C
split-complementary
#283B76 #763C28 #627628
monochromatic
#090D1B #192448 #283B76 #3752A4 #546FC5

Accessibility & contrast

On white

10.62
#283B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#283B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B76
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B76#FFFFFF#000000##FFFFFF
##283B761.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4278
Deuteranopia (green-blind)
#0D3B75
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283b76;
/* rgb */ color: rgb(40, 59, 118);
/* oklch */ color: oklch(37.0% 0.104 267.7);
Tailwind
colors: {
  custom: {
    50: '#6b709e',
    500: '#283b76',
    950: '#000000',
  },
}
SCSS
$custom: #283b76;
$custom-light: #6b709e;
$custom-dark: #000000;
JSON
{
  "hex": "#283b76",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 118
  },
  "hsl": {
    "h": 225.385,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37028,
    "c": 0.10364,
    "h": 267.7
  },
  "luminance": 0.04887
}

Semantic roles & 50–950 ramp

primary
#283B76
secondary
#A89352
accent
#B74FD9
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #283B76

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

Preview Lab → · Contrast checker → · Palette generator →

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