#283999#283999

#283999 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.157 H 269.8°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#283999
RGBrgb(40, 57, 153)
HSLhsl(231, 59%, 38%)
HSVhsv(231, 74%, 60%)
CMYKcmyk(73.9%, 62.7%, 0%, 40%)
CIE-LABlab(28.58, 27.75, -54.43)
CIE-LCHlch(28.58, 61.09, 297.01°)
OKLaboklab(39.52% -0.0004 -0.1572)
OKLCHoklch(39.52% 0.157 269.8)
XYZxyz(8.0860, 5.6764, 30.8003)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283999 #998828
analogous
#287299 #283999 #4F2899
triadic
#283999 #992839 #399928
tetradic
#283999 #992872 #998828 #28994F
square
#283999 #992872 #998828 #28994F
split-complementary
#283999 #994F28 #729928
monochromatic
#0F1538 #1B2768 #283999 #354BCA #6576D7

Accessibility & contrast

On white

9.83
#283999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#283999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283999
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283999#FFFFFF#000000##FFFFFF
##2839991.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #283999;
/* rgb */ color: rgb(40, 57, 153);
/* oklch */ color: oklch(39.5% 0.157 269.8);
Tailwind
colors: {
  custom: {
    50: '#736fb8',
    500: '#283999',
    950: '#000000',
  },
}
SCSS
$custom: #283999;
$custom-light: #736fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#283999",
  "rgb": {
    "r": 40,
    "g": 57,
    "b": 153
  },
  "hsl": {
    "h": 230.973,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39518,
    "c": 0.15718,
    "h": 269.8
  },
  "luminance": 0.05677
}

Semantic roles & 50–950 ramp

primary
#283999
secondary
#BDAF60
accent
#CA46E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283999

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

Preview Lab → · Contrast checker → · Palette generator →

#283999 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva