#283C85#283C85

#283C85 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.4% C 0.125 H 268.4°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#283C85
RGBrgb(40, 60, 133)
HSLhsl(227, 54%, 34%)
HSVhsv(227, 70%, 52%)
CMYKcmyk(69.9%, 54.9%, 0%, 47.8%)
CIE-LABlab(27.78, 18.08, -43.40)
CIE-LCHlch(27.78, 47.02, 292.61°)
OKLaboklab(38.41% -0.0035 -0.1247)
OKLCHoklch(38.41% 0.125 268.4)
XYZxyz(6.7231, 5.3756, 22.8690)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C85 #857128
analogous
#286B85 #283C85 #432885
triadic
#283C85 #85283C #3C8528
tetradic
#283C85 #85286B #857128 #288543
square
#283C85 #85286B #857128 #288543
split-complementary
#283C85 #854328 #6B8528
monochromatic
#0C1227 #1A2756 #283C85 #3651B4 #5A73CD

Accessibility & contrast

On white

10.12
#283C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#283C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C85
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C85#FFFFFF#000000##FFFFFF
##283C851.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094688
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #283c85;
/* rgb */ color: rgb(40, 60, 133);
/* oklch */ color: oklch(38.4% 0.125 268.4);
Tailwind
colors: {
  custom: {
    50: '#6e71a9',
    500: '#283c85',
    950: '#000000',
  },
}
SCSS
$custom: #283c85;
$custom-light: #6e71a9;
$custom-dark: #000000;
JSON
{
  "hex": "#283c85",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 133
  },
  "hsl": {
    "h": 227.097,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38412,
    "c": 0.1248,
    "h": 268.4
  },
  "luminance": 0.05376
}

Semantic roles & 50–950 ramp

primary
#283C85
secondary
#B39F56
accent
#BE4BDD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283C85

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

Preview Lab → · Contrast checker → · Palette generator →

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