#283C99#283C99

#283C99 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.153 H 269.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#283C99
RGBrgb(40, 60, 153)
HSLhsl(229, 59%, 38%)
HSVhsv(229, 74%, 60%)
CMYKcmyk(73.9%, 60.8%, 0%, 40%)
CIE-LABlab(29.37, 25.73, -53.14)
CIE-LCHlch(29.37, 59.05, 295.84°)
OKLaboklab(40.1% -0.0027 -0.1534)
OKLCHoklch(40.1% 0.153 269)
XYZxyz(8.2387, 5.9819, 30.8512)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C99 #998528
analogous
#287499 #283C99 #4D2899
triadic
#283C99 #99283C #3C9928
tetradic
#283C99 #992874 #998528 #28994D
square
#283C99 #992874 #998528 #28994D
split-complementary
#283C99 #994D28 #749928
monochromatic
#0F1638 #1B2968 #283C99 #354FCA #6579D7

Accessibility & contrast

On white

9.56
#283C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#283C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C99
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C99#FFFFFF#000000##FFFFFF
##283C991.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #283c99;
/* rgb */ color: rgb(40, 60, 153);
/* oklch */ color: oklch(40.1% 0.153 269.0);
Tailwind
colors: {
  custom: {
    50: '#7371b8',
    500: '#283c99',
    950: '#000000',
  },
}
SCSS
$custom: #283c99;
$custom-light: #7371b8;
$custom-dark: #000000;
JSON
{
  "hex": "#283c99",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 153
  },
  "hsl": {
    "h": 229.381,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.401,
    "c": 0.1534,
    "h": 269
  },
  "luminance": 0.05983
}

Semantic roles & 50–950 ramp

primary
#283C99
secondary
#BDAC60
accent
#C646E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283C99

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

Preview Lab → · Contrast checker → · Palette generator →

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