#283D83#283D83

#283D83 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.120 H 267.8°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#283D83
RGBrgb(40, 61, 131)
HSLhsl(226, 53%, 34%)
HSVhsv(226, 69%, 51%)
CMYKcmyk(69.5%, 53.4%, 0%, 48.6%)
CIE-LABlab(27.92, 16.62, -41.93)
CIE-LCHlch(27.92, 45.11, 291.62°)
OKLaboklab(38.47% -0.0046 -0.1204)
OKLCHoklch(38.47% 0.121 267.8)
XYZxyz(6.6391, 5.4267, 22.1659)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D83 #836E28
analogous
#286A83 #283D83 #402883
triadic
#283D83 #83283D #3D8328
tetradic
#283D83 #83286A #836E28 #288340
square
#283D83 #83286A #836E28 #288340
split-complementary
#283D83 #834028 #6A8328
monochromatic
#0B1125 #1A2754 #283D83 #3653B2 #5974CC

Accessibility & contrast

On white

10.07
#283D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#283D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D83
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D83#FFFFFF#000000##FFFFFF
##283D831.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124685
Deuteranopia (green-blind)
#003E82
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #283d83;
/* rgb */ color: rgb(40, 61, 131);
/* oklch */ color: oklch(38.5% 0.120 267.8);
Tailwind
colors: {
  custom: {
    50: '#6d72a8',
    500: '#283d83',
    950: '#000000',
  },
}
SCSS
$custom: #283d83;
$custom-light: #6d72a8;
$custom-dark: #000000;
JSON
{
  "hex": "#283d83",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 131
  },
  "hsl": {
    "h": 226.154,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38469,
    "c": 0.1205,
    "h": 267.8
  },
  "luminance": 0.05427
}

Semantic roles & 50–950 ramp

primary
#283D83
secondary
#B19C55
accent
#BB4BDD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #283D83

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

Preview Lab → · Contrast checker → · Palette generator →

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