#283D9C#283D9C

#283D9C is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.156 H 268.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#283D9C
RGBrgb(40, 61, 156)
HSLhsl(229, 59%, 38%)
HSVhsv(229, 74%, 61%)
CMYKcmyk(74.4%, 60.9%, 0%, 38.8%)
CIE-LABlab(29.88, 26.20, -54.13)
CIE-LCHlch(29.88, 60.14, 295.83°)
OKLaboklab(40.56% -0.0034 -0.1563)
OKLCHoklch(40.56% 0.156 268.8)
XYZxyz(8.5425, 6.1880, 32.1902)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D9C #9C8728
analogous
#28779C #283D9C #4D289C
triadic
#283D9C #9C283D #3D9C28
tetradic
#283D9C #9C2877 #9C8728 #289C4D
square
#283D9C #9C2877 #9C8728 #289C4D
split-complementary
#283D9C #9C4D28 #779C28
monochromatic
#0F173B #1C2A6B #283D9C #3651CB #677BD8

Accessibility & contrast

On white

9.38
#283D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#283D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D9C
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D9C#FFFFFF#000000##FFFFFF
##283D9C1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283d9c;
/* rgb */ color: rgb(40, 61, 156);
/* oklch */ color: oklch(40.6% 0.156 268.8);
Tailwind
colors: {
  custom: {
    50: '#7372ba',
    500: '#283d9c',
    950: '#000000',
  },
}
SCSS
$custom: #283d9c;
$custom-light: #7372ba;
$custom-dark: #000000;
JSON
{
  "hex": "#283d9c",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 156
  },
  "hsl": {
    "h": 229.138,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40561,
    "c": 0.1563,
    "h": 268.8
  },
  "luminance": 0.06189
}

Semantic roles & 50–950 ramp

primary
#283D9C
secondary
#BEAD62
accent
#C645E2
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #283D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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