#283A91#283A91

#283A91 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.145 H 269.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#283A91
RGBrgb(40, 58, 145)
HSLhsl(230, 57%, 36%)
HSVhsv(230, 72%, 57%)
CMYKcmyk(72.4%, 60%, 0%, 43.1%)
CIE-LABlab(28.17, 24.05, -50.19)
CIE-LCHlch(28.17, 55.66, 295.60°)
OKLaboklab(39% -0.0012 -0.1447)
OKLCHoklch(39% 0.145 269.5)
XYZxyz(7.4972, 5.5208, 27.4531)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A91 #917F28
analogous
#286F91 #283A91 #4B2891
triadic
#283A91 #91283A #3A9128
tetradic
#283A91 #91286F #917F28 #28914B
square
#283A91 #91286F #917F28 #28914B
split-complementary
#283A91 #914B28 #6F9128
monochromatic
#0E1431 #1B2761 #283A91 #354DC1 #6074D3

Accessibility & contrast

On white

9.98
#283A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#283A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A91
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A91#FFFFFF#000000##FFFFFF
##283A911.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#003E8F
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #283a91;
/* rgb */ color: rgb(40, 58, 145);
/* oklch */ color: oklch(39.0% 0.145 269.5);
Tailwind
colors: {
  custom: {
    50: '#716fb2',
    500: '#283a91',
    950: '#000000',
  },
}
SCSS
$custom: #283a91;
$custom-light: #716fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#283a91",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 145
  },
  "hsl": {
    "h": 229.714,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39002,
    "c": 0.14475,
    "h": 269.5
  },
  "luminance": 0.05522
}

Semantic roles & 50–950 ramp

primary
#283A91
secondary
#B9A95C
accent
#C648E0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283A91

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

Preview Lab → · Contrast checker → · Palette generator →

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