#283B9F#283B9F

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

Color values

HEX#283B9F
RGBrgb(40, 59, 159)
HSLhsl(230, 60%, 39%)
HSVhsv(230, 75%, 62%)
CMYKcmyk(74.8%, 62.9%, 0%, 37.6%)
CIE-LABlab(29.62, 28.67, -56.38)
CIE-LCHlch(29.62, 63.25, 296.95°)
OKLaboklab(40.44% -0.002 -0.1629)
OKLCHoklch(40.44% 0.163 269.3)
XYZxyz(8.6949, 6.0813, 33.5097)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B9F #9F8C28
analogous
#28779F #283B9F #51289F
triadic
#283B9F #9F283B #3B9F28
tetradic
#283B9F #9F2877 #9F8C28 #289F51
square
#283B9F #9F2877 #9F8C28 #289F51
split-complementary
#283B9F #9F5128 #779F28
monochromatic
#0F173D #1C296E #283B9F #374FCD #687AD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283B9F#FFFFFF#000000##FFFFFF
##283B9F1.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)
#004BA2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #283b9f;
/* rgb */ color: rgb(40, 59, 159);
/* oklch */ color: oklch(40.4% 0.163 269.3);
Tailwind
colors: {
  custom: {
    50: '#7470bc',
    500: '#283b9f',
    950: '#000000',
  },
}
SCSS
$custom: #283b9f;
$custom-light: #7470bc;
$custom-dark: #000000;
JSON
{
  "hex": "#283b9f",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 159
  },
  "hsl": {
    "h": 230.42,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40444,
    "c": 0.16291,
    "h": 269.3
  },
  "luminance": 0.06082
}

Semantic roles & 50–950 ramp

primary
#283B9F
secondary
#BFB164
accent
#CA45E3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #283B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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