#283C96#283C96

#283C96 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.149 H 269.0°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#283C96
RGBrgb(40, 60, 150)
HSLhsl(229, 58%, 37%)
HSVhsv(229, 73%, 59%)
CMYKcmyk(73.3%, 60%, 0%, 41.2%)
CIE-LABlab(29.12, 24.59, -51.72)
CIE-LCHlch(29.12, 57.27, 295.43°)
OKLaboklab(39.84% -0.0027 -0.1492)
OKLCHoklch(39.84% 0.149 269)
XYZxyz(7.9941, 5.8840, 29.5627)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C96 #968228
analogous
#287396 #283C96 #4B2896
triadic
#283C96 #96283C #3C9628
tetradic
#283C96 #962873 #968228 #28964B
square
#283C96 #962873 #968228 #28964B
split-complementary
#283C96 #964B28 #739628
monochromatic
#0E1535 #1B2966 #283C96 #354FC6 #6378D5

Accessibility & contrast

On white

9.65
#283C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#283C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C96
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C96#FFFFFF#000000##FFFFFF
##283C961.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #283c96;
/* rgb */ color: rgb(40, 60, 150);
/* oklch */ color: oklch(39.8% 0.149 269.0);
Tailwind
colors: {
  custom: {
    50: '#7271b6',
    500: '#283c96',
    950: '#000000',
  },
}
SCSS
$custom: #283c96;
$custom-light: #7271b6;
$custom-dark: #000000;
JSON
{
  "hex": "#283c96",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 150
  },
  "hsl": {
    "h": 229.091,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39837,
    "c": 0.14922,
    "h": 269
  },
  "luminance": 0.05885
}

Semantic roles & 50–950 ramp

primary
#283C96
secondary
#BBAA5F
accent
#C547E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283C96

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

Preview Lab → · Contrast checker → · Palette generator →

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