#283D9E#283D9E

#283D9E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.159 H 268.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#283D9E
RGBrgb(40, 61, 158)
HSLhsl(229, 60%, 39%)
HSVhsv(229, 75%, 62%)
CMYKcmyk(74.7%, 61.4%, 0%, 38%)
CIE-LABlab(30.05, 26.96, -55.07)
CIE-LCHlch(30.05, 61.31, 296.08°)
OKLaboklab(40.74% -0.0034 -0.159)
OKLCHoklch(40.74% 0.159 268.8)
XYZxyz(8.7132, 6.2563, 33.0895)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D9E #9E8928
analogous
#28789E #283D9E #4E289E
triadic
#283D9E #9E283D #3D9E28
tetradic
#283D9E #9E2878 #9E8928 #289E4E
square
#283D9E #9E2878 #9E8928 #289E4E
split-complementary
#283D9E #9E4E28 #789E28
monochromatic
#0F173C #1C2A6D #283D9E #3751CC #687CD9

Accessibility & contrast

On white

9.33
#283D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#283D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D9E
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D9E#FFFFFF#000000##FFFFFF
##283D9E1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #283d9e;
/* rgb */ color: rgb(40, 61, 158);
/* oklch */ color: oklch(40.7% 0.159 268.8);
Tailwind
colors: {
  custom: {
    50: '#7472bb',
    500: '#283d9e',
    950: '#000000',
  },
}
SCSS
$custom: #283d9e;
$custom-light: #7472bb;
$custom-dark: #000000;
JSON
{
  "hex": "#283d9e",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 158
  },
  "hsl": {
    "h": 229.322,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40739,
    "c": 0.15906,
    "h": 268.8
  },
  "luminance": 0.06257
}

Semantic roles & 50–950 ramp

primary
#283D9E
secondary
#BFAE63
accent
#C745E3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #283D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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