#283C9F#283C9F

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

Color values

HEX#283C9F
RGBrgb(40, 60, 159)
HSLhsl(230, 60%, 39%)
HSVhsv(230, 75%, 62%)
CMYKcmyk(74.8%, 62.3%, 0%, 37.6%)
CIE-LABlab(29.87, 28.00, -55.96)
CIE-LCHlch(29.87, 62.58, 296.58°)
OKLaboklab(40.64% -0.0027 -0.1616)
OKLCHoklch(40.64% 0.162 269)
XYZxyz(8.7468, 6.1851, 33.5270)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C9F #9F8B28
analogous
#28789F #283C9F #50289F
triadic
#283C9F #9F283C #3C9F28
tetradic
#283C9F #9F2878 #9F8B28 #289F50
square
#283C9F #9F2878 #9F8B28 #289F50
split-complementary
#283C9F #9F5028 #789F28
monochromatic
#0F173D #1C2A6E #283C9F #3751CD #687BD9

Accessibility & contrast

On white

9.39
#283C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283C9F
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C9F#FFFFFF#000000##FFFFFF
##283C9F1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #283c9f;
/* rgb */ color: rgb(40, 60, 159);
/* oklch */ color: oklch(40.6% 0.162 269.0);
Tailwind
colors: {
  custom: {
    50: '#7471bc',
    500: '#283c9f',
    950: '#000000',
  },
}
SCSS
$custom: #283c9f;
$custom-light: #7471bc;
$custom-dark: #000000;
JSON
{
  "hex": "#283c9f",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 159
  },
  "hsl": {
    "h": 229.916,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40635,
    "c": 0.16167,
    "h": 269
  },
  "luminance": 0.06186
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #283C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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