#283B79#283B79

#283B79 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.3% C 0.108 H 268.0°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#283B79
RGBrgb(40, 59, 121)
HSLhsl(226, 50%, 32%)
HSVhsv(226, 67%, 47%)
CMYKcmyk(66.9%, 51.2%, 0%, 52.5%)
CIE-LABlab(26.62, 14.15, -37.76)
CIE-LCHlch(26.62, 40.32, 290.55°)
OKLaboklab(37.25% -0.0037 -0.1081)
OKLCHoklch(37.25% 0.108 268)
XYZxyz(5.8890, 4.9590, 18.7323)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B79 #796628
analogous
#286479 #283B79 #3E2879
triadic
#283B79 #79283B #3B7928
tetradic
#283B79 #792864 #796628 #28793E
square
#283B79 #792864 #796628 #28793E
split-complementary
#283B79 #793E28 #647928
monochromatic
#0A0E1D #19254B #283B79 #3751A7 #556FC7

Accessibility & contrast

On white

10.54
#283B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#283B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B79
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B79#FFFFFF#000000##FFFFFF
##283B791.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A437B
Deuteranopia (green-blind)
#063B78
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283b79;
/* rgb */ color: rgb(40, 59, 121);
/* oklch */ color: oklch(37.3% 0.108 268.0);
Tailwind
colors: {
  custom: {
    50: '#6b70a0',
    500: '#283b79',
    950: '#000000',
  },
}
SCSS
$custom: #283b79;
$custom-light: #6b70a0;
$custom-dark: #000000;
JSON
{
  "hex": "#283b79",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 121
  },
  "hsl": {
    "h": 225.926,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37254,
    "c": 0.10821,
    "h": 268
  },
  "luminance": 0.0496
}

Semantic roles & 50–950 ramp

primary
#283B79
secondary
#AB9652
accent
#B94EDA
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #283B79

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

Preview Lab → · Contrast checker → · Palette generator →

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