#283C9E#283C9E

#283C9E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.160 H 269.0°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#283C9E
RGBrgb(40, 60, 158)
HSLhsl(230, 60%, 39%)
HSVhsv(230, 75%, 62%)
CMYKcmyk(74.7%, 62%, 0%, 38%)
CIE-LABlab(29.79, 27.63, -55.49)
CIE-LCHlch(29.79, 61.99, 296.47°)
OKLaboklab(40.54% -0.0027 -0.1603)
OKLCHoklch(40.54% 0.16 269)
XYZxyz(8.6604, 6.1505, 33.0719)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C9E #9E8A28
analogous
#28779E #283C9E #4F289E
triadic
#283C9E #9E283C #3C9E28
tetradic
#283C9E #9E2877 #9E8A28 #289E4F
square
#283C9E #9E2877 #9E8A28 #289E4F
split-complementary
#283C9E #9E4F28 #779E28
monochromatic
#0F173C #1C296D #283C9E #3750CC #687BD9

Accessibility & contrast

On white

9.42
#283C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#283C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C9E
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C9E#FFFFFF#000000##FFFFFF
##283C9E1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #283c9e;
/* rgb */ color: rgb(40, 60, 158);
/* oklch */ color: oklch(40.5% 0.160 269.0);
Tailwind
colors: {
  custom: {
    50: '#7471bb',
    500: '#283c9e',
    950: '#000000',
  },
}
SCSS
$custom: #283c9e;
$custom-light: #7471bb;
$custom-dark: #000000;
JSON
{
  "hex": "#283c9e",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 158
  },
  "hsl": {
    "h": 229.831,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40545,
    "c": 0.1603,
    "h": 269
  },
  "luminance": 0.06151
}

Semantic roles & 50–950 ramp

primary
#283C9E
secondary
#BFAF63
accent
#C845E3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #283C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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