#283F91#283F91

#283F91 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.138 H 267.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#283F91
RGBrgb(40, 63, 145)
HSLhsl(227, 57%, 36%)
HSVhsv(227, 72%, 57%)
CMYKcmyk(72.4%, 56.6%, 0%, 43.1%)
CIE-LABlab(29.54, 20.64, -47.97)
CIE-LCHlch(29.54, 52.22, 293.28°)
OKLaboklab(40.03% -0.0053 -0.1381)
OKLCHoklch(40.03% 0.138 267.8)
XYZxyz(7.7616, 6.0497, 27.5412)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F91 #917A28
analogous
#287491 #283F91 #462891
triadic
#283F91 #91283F #3F9128
tetradic
#283F91 #912874 #917A28 #289146
square
#283F91 #912874 #917A28 #289146
split-complementary
#283F91 #914628 #749128
monochromatic
#0E1531 #1B2A61 #283F91 #3554C1 #6079D3

Accessibility & contrast

On white

9.50
#283F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#283F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F91
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F91#FFFFFF#000000##FFFFFF
##283F911.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #283f91;
/* rgb */ color: rgb(40, 63, 145);
/* oklch */ color: oklch(40.0% 0.138 267.8);
Tailwind
colors: {
  custom: {
    50: '#7073b2',
    500: '#283f91',
    950: '#000000',
  },
}
SCSS
$custom: #283f91;
$custom-light: #7073b2;
$custom-dark: #000000;
JSON
{
  "hex": "#283f91",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 145
  },
  "hsl": {
    "h": 226.857,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40026,
    "c": 0.13825,
    "h": 267.8
  },
  "luminance": 0.0605
}

Semantic roles & 50–950 ramp

primary
#283F91
secondary
#B9A45C
accent
#BF48E0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #283F91

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

Preview Lab → · Contrast checker → · Palette generator →

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