#283C9D#283C9D

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

Color values

HEX#283C9D
RGBrgb(40, 60, 157)
HSLhsl(230, 59%, 39%)
HSVhsv(230, 75%, 62%)
CMYKcmyk(74.5%, 61.8%, 0%, 38.4%)
CIE-LABlab(29.70, 27.25, -55.03)
CIE-LCHlch(29.70, 61.40, 296.34°)
OKLaboklab(40.46% -0.0027 -0.1589)
OKLCHoklch(40.46% 0.159 269)
XYZxyz(8.5746, 6.1163, 32.6204)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C9D #9D8928
analogous
#28769D #283C9D #4E289D
triadic
#283C9D #9D283C #3C9D28
tetradic
#283C9D #9D2876 #9D8928 #289D4E
square
#283C9D #9D2876 #9D8928 #289D4E
split-complementary
#283C9D #9D4E28 #769D28
monochromatic
#0F173B #1C296C #283C9D #3650CC #677AD8

Accessibility & contrast

On white

9.44
#283C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#283C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C9D
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C9D#FFFFFF#000000##FFFFFF
##283C9D1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #283c9d;
/* rgb */ color: rgb(40, 60, 157);
/* oklch */ color: oklch(40.5% 0.159 269.0);
Tailwind
colors: {
  custom: {
    50: '#7471bb',
    500: '#283c9d',
    950: '#000000',
  },
}
SCSS
$custom: #283c9d;
$custom-light: #7471bb;
$custom-dark: #000000;
JSON
{
  "hex": "#283c9d",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 157
  },
  "hsl": {
    "h": 229.744,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40456,
    "c": 0.15893,
    "h": 269
  },
  "luminance": 0.06117
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #283C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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