#283C9C#283C9C

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

Color values

HEX#283C9C
RGBrgb(40, 60, 156)
HSLhsl(230, 59%, 38%)
HSVhsv(230, 74%, 61%)
CMYKcmyk(74.4%, 61.5%, 0%, 38.8%)
CIE-LABlab(29.62, 26.87, -54.56)
CIE-LCHlch(29.62, 60.82, 296.22°)
OKLaboklab(40.37% -0.0027 -0.1575)
OKLCHoklch(40.37% 0.158 269)
XYZxyz(8.4896, 6.0822, 32.1726)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C9C #9C8828
analogous
#28769C #283C9C #4E289C
triadic
#283C9C #9C283C #3C9C28
tetradic
#283C9C #9C2876 #9C8828 #289C4E
square
#283C9C #9C2876 #9C8828 #289C4E
split-complementary
#283C9C #9C4E28 #769C28
monochromatic
#0F173B #1C296B #283C9C #3650CB #677AD8

Accessibility & contrast

On white

9.47
#283C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283C9C
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C9C#FFFFFF#000000##FFFFFF
##283C9C1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #283c9c;
/* rgb */ color: rgb(40, 60, 156);
/* oklch */ color: oklch(40.4% 0.158 269.0);
Tailwind
colors: {
  custom: {
    50: '#7371ba',
    500: '#283c9c',
    950: '#000000',
  },
}
SCSS
$custom: #283c9c;
$custom-light: #7371ba;
$custom-dark: #000000;
JSON
{
  "hex": "#283c9c",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 156
  },
  "hsl": {
    "h": 229.655,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40366,
    "c": 0.15756,
    "h": 269
  },
  "luminance": 0.06083
}

Semantic roles & 50–950 ramp

primary
#283C9C
secondary
#BEAE62
accent
#C745E2
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #283C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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