#283C83#283C83

#283C83 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.122 H 268.3°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#283C83
RGBrgb(40, 60, 131)
HSLhsl(227, 53%, 34%)
HSVhsv(227, 69%, 51%)
CMYKcmyk(69.5%, 54.2%, 0%, 48.6%)
CIE-LABlab(27.63, 17.31, -42.40)
CIE-LCHlch(27.63, 45.80, 292.21°)
OKLaboklab(38.25% -0.0036 -0.1218)
OKLCHoklch(38.25% 0.122 268.3)
XYZxyz(6.5863, 5.3209, 22.1483)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C83 #836F28
analogous
#286983 #283C83 #412883
triadic
#283C83 #83283C #3C8328
tetradic
#283C83 #832869 #836F28 #288341
square
#283C83 #832869 #836F28 #288341
split-complementary
#283C83 #834128 #698328
monochromatic
#0B1125 #1A2754 #283C83 #3651B2 #5972CC

Accessibility & contrast

On white

10.17
#283C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#283C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C83
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C83#FFFFFF#000000##FFFFFF
##283C831.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4686
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #283c83;
/* rgb */ color: rgb(40, 60, 131);
/* oklch */ color: oklch(38.3% 0.122 268.3);
Tailwind
colors: {
  custom: {
    50: '#6d71a8',
    500: '#283c83',
    950: '#000000',
  },
}
SCSS
$custom: #283c83;
$custom-light: #6d71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#283c83",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 131
  },
  "hsl": {
    "h": 226.813,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38252,
    "c": 0.12184,
    "h": 268.3
  },
  "luminance": 0.05322
}

Semantic roles & 50–950 ramp

primary
#283C83
secondary
#B19D55
accent
#BD4BDD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #283C83

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

Preview Lab → · Contrast checker → · Palette generator →

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