#283E9F#283E9F

#283E9F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.159 H 268.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#283E9F
RGBrgb(40, 62, 159)
HSLhsl(229, 60%, 39%)
HSVhsv(229, 75%, 62%)
CMYKcmyk(74.8%, 61%, 0%, 37.6%)
CIE-LABlab(30.40, 26.67, -55.11)
CIE-LCHlch(30.40, 61.22, 295.82°)
OKLaboklab(41.02% -0.0041 -0.1591)
OKLCHoklch(41.02% 0.159 268.5)
XYZxyz(8.8535, 6.3986, 33.5626)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283E9F #9F8928
analogous
#287A9F #283E9F #4E289F
triadic
#283E9F #9F283E #3E9F28
tetradic
#283E9F #9F287A #9F8928 #289F4E
square
#283E9F #9F287A #9F8928 #289F4E
split-complementary
#283E9F #9F4E28 #7A9F28
monochromatic
#0F183D #1C2B6E #283E9F #3753CD #687DD9

Accessibility & contrast

On white

9.21
#283E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#283E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283E9F
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283E9F#FFFFFF#000000##FFFFFF
##283E9F1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #283e9f;
/* rgb */ color: rgb(40, 62, 159);
/* oklch */ color: oklch(41.0% 0.159 268.5);
Tailwind
colors: {
  custom: {
    50: '#7473bc',
    500: '#283e9f',
    950: '#000000',
  },
}
SCSS
$custom: #283e9f;
$custom-light: #7473bc;
$custom-dark: #000000;
JSON
{
  "hex": "#283e9f",
  "rgb": {
    "r": 40,
    "g": 62,
    "b": 159
  },
  "hsl": {
    "h": 228.908,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41022,
    "c": 0.15918,
    "h": 268.5
  },
  "luminance": 0.064
}

Semantic roles & 50–950 ramp

primary
#283E9F
secondary
#BFAE64
accent
#C645E3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #283E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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