#283C9A#283C9A

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

Color values

HEX#283C9A
RGBrgb(40, 60, 154)
HSLhsl(229, 59%, 38%)
HSVhsv(229, 74%, 60%)
CMYKcmyk(74%, 61%, 0%, 39.6%)
CIE-LABlab(29.45, 26.11, -53.62)
CIE-LCHlch(29.45, 59.64, 295.97°)
OKLaboklab(40.19% -0.0026 -0.1548)
OKLCHoklch(40.19% 0.155 269)
XYZxyz(8.3217, 6.0151, 31.2880)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C9A #9A8628
analogous
#28759A #283C9A #4D289A
triadic
#283C9A #9A283C #3C9A28
tetradic
#283C9A #9A2875 #9A8628 #289A4D
square
#283C9A #9A2875 #9A8628 #289A4D
split-complementary
#283C9A #9A4D28 #759A28
monochromatic
#0F1639 #1B2969 #283C9A #354FCA #6579D7

Accessibility & contrast

On white

9.53
#283C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#283C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C9A
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C9A#FFFFFF#000000##FFFFFF
##283C9A1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #283c9a;
/* rgb */ color: rgb(40, 60, 154);
/* oklch */ color: oklch(40.2% 0.155 269.0);
Tailwind
colors: {
  custom: {
    50: '#7371b9',
    500: '#283c9a',
    950: '#000000',
  },
}
SCSS
$custom: #283c9a;
$custom-light: #7371b9;
$custom-dark: #000000;
JSON
{
  "hex": "#283c9a",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 154
  },
  "hsl": {
    "h": 229.474,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40189,
    "c": 0.15479,
    "h": 269
  },
  "luminance": 0.06016
}

Semantic roles & 50–950 ramp

primary
#283C9A
secondary
#BDAD61
accent
#C746E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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