#283C75#283C75

#283C75 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.2% C 0.101 H 266.9°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#283C75
RGBrgb(40, 60, 117)
HSLhsl(224, 49%, 31%)
HSVhsv(224, 66%, 46%)
CMYKcmyk(65.8%, 48.7%, 0%, 54.1%)
CIE-LABlab(26.64, 11.93, -35.19)
CIE-LCHlch(26.64, 37.16, 288.72°)
OKLaboklab(37.18% -0.0054 -0.1006)
OKLCHoklch(37.18% 0.101 266.9)
XYZxyz(5.7007, 4.9667, 17.4844)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C75 #756128
analogous
#286275 #283C75 #3A2875
triadic
#283C75 #75283C #3C7528
tetradic
#283C75 #752862 #756128 #28753A
square
#283C75 #752862 #756128 #28753A
split-complementary
#283C75 #753A28 #627528
monochromatic
#090D1A #182547 #283C75 #3853A3 #5371C4

Accessibility & contrast

On white

10.53
#283C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283C75
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C75#FFFFFF#000000##FFFFFF
##283C751.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204377
Deuteranopia (green-blind)
#123C74
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283c75;
/* rgb */ color: rgb(40, 60, 117);
/* oklch */ color: oklch(37.2% 0.101 266.9);
Tailwind
colors: {
  custom: {
    50: '#6a719d',
    500: '#283c75',
    950: '#000000',
  },
}
SCSS
$custom: #283c75;
$custom-light: #6a719d;
$custom-dark: #000000;
JSON
{
  "hex": "#283c75",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 117
  },
  "hsl": {
    "h": 224.416,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37182,
    "c": 0.10073,
    "h": 266.9
  },
  "luminance": 0.04967
}

Semantic roles & 50–950 ramp

primary
#283C75
secondary
#A79152
accent
#B54FD9
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #283C75

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

Preview Lab → · Contrast checker → · Palette generator →

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