#283C9B#283C9B

#283C9B is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.3% C 0.156 H 269.0°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#283C9B
RGBrgb(40, 60, 155)
HSLhsl(230, 59%, 38%)
HSVhsv(230, 74%, 61%)
CMYKcmyk(74.2%, 61.3%, 0%, 39.2%)
CIE-LABlab(29.53, 26.49, -54.09)
CIE-LCHlch(29.53, 60.23, 296.10°)
OKLaboklab(40.28% -0.0026 -0.1562)
OKLCHoklch(40.28% 0.156 269)
XYZxyz(8.4053, 6.0485, 31.7285)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C9B #9B8728
analogous
#28759B #283C9B #4D289B
triadic
#283C9B #9B283C #3C9B28
tetradic
#283C9B #9B2875 #9B8728 #289B4D
square
#283C9B #9B2875 #9B8728 #289B4D
split-complementary
#283C9B #9B4D28 #759B28
monochromatic
#0F163A #1B296A #283C9B #354FCB #667AD7

Accessibility & contrast

On white

9.50
#283C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#283C9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C9B
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C9B#FFFFFF#000000##FFFFFF
##283C9B1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #283c9b;
/* rgb */ color: rgb(40, 60, 155);
/* oklch */ color: oklch(40.3% 0.156 269.0);
Tailwind
colors: {
  custom: {
    50: '#7371b9',
    500: '#283c9b',
    950: '#000000',
  },
}
SCSS
$custom: #283c9b;
$custom-light: #7371b9;
$custom-dark: #000000;
JSON
{
  "hex": "#283c9b",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 155
  },
  "hsl": {
    "h": 229.565,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40277,
    "c": 0.15618,
    "h": 269
  },
  "luminance": 0.06049
}

Semantic roles & 50–950 ramp

primary
#283C9B
secondary
#BDAD61
accent
#C746E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #283C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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