#283C76#283C76

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

Color values

HEX#283C76
RGBrgb(40, 60, 118)
HSLhsl(225, 49%, 31%)
HSVhsv(225, 66%, 46%)
CMYKcmyk(66.1%, 49.2%, 0%, 53.7%)
CIE-LABlab(26.71, 12.31, -35.72)
CIE-LCHlch(26.71, 37.78, 289.02°)
OKLaboklab(37.26% -0.0052 -0.1021)
OKLCHoklch(37.26% 0.102 267.1)
XYZxyz(5.7598, 4.9903, 17.7957)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C76 #766228
analogous
#286376 #283C76 #3B2876
triadic
#283C76 #76283C #3C7628
tetradic
#283C76 #762863 #766228 #28763B
square
#283C76 #762863 #766228 #28763B
split-complementary
#283C76 #763B28 #637628
monochromatic
#090E1B #192548 #283C76 #3753A4 #5471C5

Accessibility & contrast

On white

10.51
#283C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#283C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C76
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C76#FFFFFF#000000##FFFFFF
##283C761.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4378
Deuteranopia (green-blind)
#103C75
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283c76;
/* rgb */ color: rgb(40, 60, 118);
/* oklch */ color: oklch(37.3% 0.102 267.1);
Tailwind
colors: {
  custom: {
    50: '#6b719e',
    500: '#283c76',
    950: '#000000',
  },
}
SCSS
$custom: #283c76;
$custom-light: #6b719e;
$custom-dark: #000000;
JSON
{
  "hex": "#283c76",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 118
  },
  "hsl": {
    "h": 224.615,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37255,
    "c": 0.10227,
    "h": 267.1
  },
  "luminance": 0.04991
}

Semantic roles & 50–950 ramp

primary
#283C76
secondary
#A89252
accent
#B64FD9
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #283C76

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

Preview Lab → · Contrast checker → · Palette generator →

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