#283D85#283D85

#283D85 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.123 H 267.9°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#283D85
RGBrgb(40, 61, 133)
HSLhsl(226, 54%, 34%)
HSVhsv(226, 70%, 52%)
CMYKcmyk(69.9%, 54.1%, 0%, 47.8%)
CIE-LABlab(28.06, 17.39, -42.94)
CIE-LCHlch(28.06, 46.33, 292.05°)
OKLaboklab(38.63% -0.0044 -0.1234)
OKLCHoklch(38.63% 0.123 267.9)
XYZxyz(6.7760, 5.4814, 22.8867)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D85 #857028
analogous
#286C85 #283D85 #422885
triadic
#283D85 #85283D #3D8528
tetradic
#283D85 #85286C #857028 #288542
square
#283D85 #85286C #857028 #288542
split-complementary
#283D85 #854228 #6C8528
monochromatic
#0C1227 #1A2756 #283D85 #3653B4 #5A74CD

Accessibility & contrast

On white

10.02
#283D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#283D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D85
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D85#FFFFFF#000000##FFFFFF
##283D851.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4788
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #283d85;
/* rgb */ color: rgb(40, 61, 133);
/* oklch */ color: oklch(38.6% 0.123 267.9);
Tailwind
colors: {
  custom: {
    50: '#6e72a9',
    500: '#283d85',
    950: '#000000',
  },
}
SCSS
$custom: #283d85;
$custom-light: #6e72a9;
$custom-dark: #000000;
JSON
{
  "hex": "#283d85",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 133
  },
  "hsl": {
    "h": 226.452,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38627,
    "c": 0.12346,
    "h": 267.9
  },
  "luminance": 0.05482
}

Semantic roles & 50–950 ramp

primary
#283D85
secondary
#B39E56
accent
#BC4BDD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283D85

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

Preview Lab → · Contrast checker → · Palette generator →

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