#283A9E#283A9E

#283A9E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.2% C 0.163 H 269.6°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#283A9E
RGBrgb(40, 58, 158)
HSLhsl(231, 60%, 39%)
HSVhsv(231, 75%, 62%)
CMYKcmyk(74.7%, 63.3%, 0%, 38%)
CIE-LABlab(29.27, 28.96, -56.34)
CIE-LCHlch(29.27, 63.34, 297.20°)
OKLaboklab(40.16% -0.0013 -0.1628)
OKLCHoklch(40.16% 0.163 269.6)
XYZxyz(8.5576, 5.9449, 33.0376)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A9E #9E8C28
analogous
#28759E #283A9E #51289E
triadic
#283A9E #9E283A #3A9E28
tetradic
#283A9E #9E2875 #9E8C28 #289E51
square
#283A9E #9E2875 #9E8C28 #289E51
split-complementary
#283A9E #9E5128 #759E28
monochromatic
#0F163C #1C286D #283A9E #374ECC #6879D9

Accessibility & contrast

On white

9.59
#283A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#283A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A9E
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A9E#FFFFFF#000000##FFFFFF
##283A9E1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #283a9e;
/* rgb */ color: rgb(40, 58, 158);
/* oklch */ color: oklch(40.2% 0.163 269.6);
Tailwind
colors: {
  custom: {
    50: '#7470bc',
    500: '#283a9e',
    950: '#000000',
  },
}
SCSS
$custom: #283a9e;
$custom-light: #7470bc;
$custom-dark: #000000;
JSON
{
  "hex": "#283a9e",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 158
  },
  "hsl": {
    "h": 230.847,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40164,
    "c": 0.16278,
    "h": 269.6
  },
  "luminance": 0.05946
}

Semantic roles & 50–950 ramp

primary
#283A9E
secondary
#BFB163
accent
#CB45E3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #283A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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