#283C79#283C79

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

Color values

HEX#283C79
RGBrgb(40, 60, 121)
HSLhsl(225, 50%, 32%)
HSVhsv(225, 67%, 47%)
CMYKcmyk(66.9%, 50.4%, 0%, 52.5%)
CIE-LABlab(26.91, 13.46, -37.28)
CIE-LCHlch(26.91, 39.64, 289.85°)
OKLaboklab(37.48% -0.0048 -0.1067)
OKLCHoklch(37.48% 0.107 267.4)
XYZxyz(5.9409, 5.0628, 18.7496)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C79 #796528
analogous
#286579 #283C79 #3D2879
triadic
#283C79 #79283C #3C7928
tetradic
#283C79 #792865 #796528 #28793D
square
#283C79 #792865 #796528 #28793D
split-complementary
#283C79 #793D28 #657928
monochromatic
#0A0E1D #19254B #283C79 #3753A7 #5571C7

Accessibility & contrast

On white

10.43
#283C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#283C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C79
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C79#FFFFFF#000000##FFFFFF
##283C791.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C437B
Deuteranopia (green-blind)
#0A3C78
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #283c79;
/* rgb */ color: rgb(40, 60, 121);
/* oklch */ color: oklch(37.5% 0.107 267.4);
Tailwind
colors: {
  custom: {
    50: '#6b71a0',
    500: '#283c79',
    950: '#000000',
  },
}
SCSS
$custom: #283c79;
$custom-light: #6b71a0;
$custom-dark: #000000;
JSON
{
  "hex": "#283c79",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 121
  },
  "hsl": {
    "h": 225.185,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37478,
    "c": 0.10685,
    "h": 267.4
  },
  "luminance": 0.05063
}

Semantic roles & 50–950 ramp

primary
#283C79
secondary
#AB9552
accent
#B74EDA
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #283C79

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

Preview Lab → · Contrast checker → · Palette generator →

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