#283C74#283C74

#283C74 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.1% C 0.099 H 266.8°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#283C74
RGBrgb(40, 60, 116)
HSLhsl(224, 49%, 31%)
HSVhsv(224, 66%, 45%)
CMYKcmyk(65.5%, 48.3%, 0%, 54.5%)
CIE-LABlab(26.57, 11.54, -34.66)
CIE-LCHlch(26.57, 36.54, 288.42°)
OKLaboklab(37.11% -0.0056 -0.099)
OKLCHoklch(37.11% 0.099 266.8)
XYZxyz(5.6422, 4.9433, 17.1764)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C74 #746028
analogous
#286274 #283C74 #3A2874
triadic
#283C74 #74283C #3C7428
tetradic
#283C74 #742862 #746028 #28743A
square
#283C74 #742862 #746028 #28743A
split-complementary
#283C74 #743A28 #627428
monochromatic
#090D19 #182446 #283C74 #3854A2 #5370C4

Accessibility & contrast

On white

10.56
#283C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283C74
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C74#FFFFFF#000000##FFFFFF
##283C741.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214276
Deuteranopia (green-blind)
#143C73
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283c74;
/* rgb */ color: rgb(40, 60, 116);
/* oklch */ color: oklch(37.1% 0.099 266.8);
Tailwind
colors: {
  custom: {
    50: '#6a719c',
    500: '#283c74',
    950: '#000000',
  },
}
SCSS
$custom: #283c74;
$custom-light: #6a719c;
$custom-dark: #000000;
JSON
{
  "hex": "#283c74",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 116
  },
  "hsl": {
    "h": 224.211,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37109,
    "c": 0.0992,
    "h": 266.8
  },
  "luminance": 0.04944
}

Semantic roles & 50–950 ramp

primary
#283C74
secondary
#A69052
accent
#B450D8
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #283C74

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

Preview Lab → · Contrast checker → · Palette generator →

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