#283F80#283F80

#283F80 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.7% C 0.113 H 266.5°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#283F80
RGBrgb(40, 63, 128)
HSLhsl(224, 52%, 33%)
HSVhsv(224, 69%, 50%)
CMYKcmyk(68.8%, 50.8%, 0%, 49.8%)
CIE-LABlab(28.28, 14.08, -39.47)
CIE-LCHlch(28.28, 41.91, 289.64°)
OKLaboklab(38.68% -0.0069 -0.1131)
OKLCHoklch(38.68% 0.113 266.5)
XYZxyz(6.5475, 5.5640, 21.1468)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F80 #806928
analogous
#286B80 #283F80 #3D2880
triadic
#283F80 #80283F #3F8028
tetradic
#283F80 #80286B #806928 #28803D
square
#283F80 #80286B #806928 #28803D
split-complementary
#283F80 #803D28 #6B8028
monochromatic
#0B1123 #192851 #283F80 #3756AF #5876CB

Accessibility & contrast

On white

9.94
#283F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#283F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F80
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F80#FFFFFF#000000##FFFFFF
##283F801.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4782
Deuteranopia (green-blind)
#043F7F
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #283f80;
/* rgb */ color: rgb(40, 63, 128);
/* oklch */ color: oklch(38.7% 0.113 266.5);
Tailwind
colors: {
  custom: {
    50: '#6d73a5',
    500: '#283f80',
    950: '#000000',
  },
}
SCSS
$custom: #283f80;
$custom-light: #6d73a5;
$custom-dark: #000000;
JSON
{
  "hex": "#283f80",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 128
  },
  "hsl": {
    "h": 224.318,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3868,
    "c": 0.11334,
    "h": 266.5
  },
  "luminance": 0.05565
}

Semantic roles & 50–950 ramp

primary
#283F80
secondary
#B09854
accent
#B64CDC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #283F80

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

Preview Lab → · Contrast checker → · Palette generator →

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