#283D79#283D79

#283D79 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.7% C 0.105 H 266.8°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#283D79
RGBrgb(40, 61, 121)
HSLhsl(224, 50%, 32%)
HSVhsv(224, 67%, 47%)
CMYKcmyk(66.9%, 49.6%, 0%, 52.5%)
CIE-LABlab(27.21, 12.77, -36.80)
CIE-LCHlch(27.21, 38.96, 289.13°)
OKLaboklab(37.71% -0.0059 -0.1053)
OKLCHoklch(37.71% 0.105 266.8)
XYZxyz(5.9938, 5.1685, 18.7672)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D79 #796428
analogous
#286679 #283D79 #3B2879
triadic
#283D79 #79283D #3D7928
tetradic
#283D79 #792866 #796428 #28793B
square
#283D79 #792866 #796428 #28793B
split-complementary
#283D79 #793B28 #667928
monochromatic
#0A0F1D #19264B #283D79 #3754A7 #5572C7

Accessibility & contrast

On white

10.33
#283D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283D79
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D79#FFFFFF#000000##FFFFFF
##283D791.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E447B
Deuteranopia (green-blind)
#0E3D78
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #283d79;
/* rgb */ color: rgb(40, 61, 121);
/* oklch */ color: oklch(37.7% 0.105 266.8);
Tailwind
colors: {
  custom: {
    50: '#6b72a0',
    500: '#283d79',
    950: '#000000',
  },
}
SCSS
$custom: #283d79;
$custom-light: #6b72a0;
$custom-dark: #000000;
JSON
{
  "hex": "#283d79",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 121
  },
  "hsl": {
    "h": 224.444,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37705,
    "c": 0.10548,
    "h": 266.8
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#283D79
secondary
#AB9452
accent
#B64EDA
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #283D79

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

Preview Lab → · Contrast checker → · Palette generator →

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