#283F99#283F99

#283F99 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.150 H 268.1°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#283F99
RGBrgb(40, 63, 153)
HSLhsl(228, 59%, 38%)
HSVhsv(228, 74%, 60%)
CMYKcmyk(73.9%, 58.8%, 0%, 40%)
CIE-LABlab(30.17, 23.71, -51.83)
CIE-LCHlch(30.17, 57.00, 294.58°)
OKLaboklab(40.7% -0.005 -0.1495)
OKLCHoklch(40.7% 0.15 268.1)
XYZxyz(8.4004, 6.3052, 30.9051)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F99 #998228
analogous
#287799 #283F99 #4A2899
triadic
#283F99 #99283F #3F9928
tetradic
#283F99 #992877 #998228 #28994A
square
#283F99 #992877 #998228 #28994A
split-complementary
#283F99 #994A28 #779928
monochromatic
#0F1738 #1B2B68 #283F99 #3553CA #657CD7

Accessibility & contrast

On white

9.29
#283F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#283F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F99
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F99#FFFFFF#000000##FFFFFF
##283F991.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #283f99;
/* rgb */ color: rgb(40, 63, 153);
/* oklch */ color: oklch(40.7% 0.150 268.1);
Tailwind
colors: {
  custom: {
    50: '#7273b8',
    500: '#283f99',
    950: '#000000',
  },
}
SCSS
$custom: #283f99;
$custom-light: #7273b8;
$custom-dark: #000000;
JSON
{
  "hex": "#283f99",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 153
  },
  "hsl": {
    "h": 227.788,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40699,
    "c": 0.14958,
    "h": 268.1
  },
  "luminance": 0.06306
}

Semantic roles & 50–950 ramp

primary
#283F99
secondary
#BDAA60
accent
#C246E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #283F99

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

Preview Lab → · Contrast checker → · Palette generator →

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