#283B80#283B80

#283B80 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.8% C 0.119 H 268.6°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#283B80
RGBrgb(40, 59, 128)
HSLhsl(227, 52%, 33%)
HSVhsv(227, 69%, 50%)
CMYKcmyk(68.8%, 53.9%, 0%, 49.8%)
CIE-LABlab(27.12, 16.84, -41.34)
CIE-LCHlch(27.12, 44.64, 292.17°)
OKLaboklab(37.8% -0.003 -0.1187)
OKLCHoklch(37.8% 0.119 268.6)
XYZxyz(6.3340, 5.1370, 21.0756)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B80 #806D28
analogous
#286780 #283B80 #412880
triadic
#283B80 #80283B #3B8028
tetradic
#283B80 #802867 #806D28 #288041
square
#283B80 #802867 #806D28 #288041
split-complementary
#283B80 #804128 #678028
monochromatic
#0B1023 #192651 #283B80 #3750AF #5871CB

Accessibility & contrast

On white

10.36
#283B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#283B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B80
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B80#FFFFFF#000000##FFFFFF
##283B801.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104482
Deuteranopia (green-blind)
#003C7F
Tritanopia (blue-blind)
#004B57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #283b80;
/* rgb */ color: rgb(40, 59, 128);
/* oklch */ color: oklch(37.8% 0.119 268.6);
Tailwind
colors: {
  custom: {
    50: '#6d70a5',
    500: '#283b80',
    950: '#000000',
  },
}
SCSS
$custom: #283b80;
$custom-light: #6d70a5;
$custom-dark: #000000;
JSON
{
  "hex": "#283b80",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 128
  },
  "hsl": {
    "h": 227.045,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37797,
    "c": 0.11875,
    "h": 268.6
  },
  "luminance": 0.05138
}

Semantic roles & 50–950 ramp

primary
#283B80
secondary
#B09C54
accent
#BD4CDC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #283B80

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

Preview Lab → · Contrast checker → · Palette generator →

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