#283F93#283F93

#283F93 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.141 H 267.9°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#283F93
RGBrgb(40, 63, 147)
HSLhsl(227, 57%, 37%)
HSVhsv(227, 73%, 58%)
CMYKcmyk(72.8%, 57.1%, 0%, 42.4%)
CIE-LABlab(29.69, 21.41, -48.95)
CIE-LCHlch(29.69, 53.42, 293.63°)
OKLaboklab(40.19% -0.0052 -0.141)
OKLCHoklch(40.19% 0.141 267.9)
XYZxyz(7.9172, 6.1119, 28.3606)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F93 #937C28
analogous
#287593 #283F93 #472893
triadic
#283F93 #93283F #3F9328
tetradic
#283F93 #932875 #937C28 #289347
square
#283F93 #932875 #937C28 #289347
split-complementary
#283F93 #934728 #759328
monochromatic
#0E1633 #1B2A63 #283F93 #3554C3 #617AD4

Accessibility & contrast

On white

9.45
#283F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283F93
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F93#FFFFFF#000000##FFFFFF
##283F931.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#004191
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #283f93;
/* rgb */ color: rgb(40, 63, 147);
/* oklch */ color: oklch(40.2% 0.141 267.9);
Tailwind
colors: {
  custom: {
    50: '#7173b3',
    500: '#283f93',
    950: '#000000',
  },
}
SCSS
$custom: #283f93;
$custom-light: #7173b3;
$custom-dark: #000000;
JSON
{
  "hex": "#283f93",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 147
  },
  "hsl": {
    "h": 227.103,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40192,
    "c": 0.14111,
    "h": 267.9
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#283F93
secondary
#BAA65D
accent
#C047E0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #283F93

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

Preview Lab → · Contrast checker → · Palette generator →

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