#283C82#283C82

#283C82 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.2% C 0.120 H 268.2°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#283C82
RGBrgb(40, 60, 130)
HSLhsl(227, 53%, 33%)
HSVhsv(227, 69%, 51%)
CMYKcmyk(69.2%, 53.8%, 0%, 49%)
CIE-LABlab(27.56, 16.92, -41.89)
CIE-LCHlch(27.56, 45.18, 292.00°)
OKLaboklab(38.17% -0.0037 -0.1203)
OKLCHoklch(38.17% 0.12 268.2)
XYZxyz(6.5188, 5.2939, 21.7931)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C82 #826E28
analogous
#286982 #283C82 #412882
triadic
#283C82 #82283C #3C8228
tetradic
#283C82 #822869 #826E28 #288241
square
#283C82 #822869 #826E28 #288241
split-complementary
#283C82 #824128 #698228
monochromatic
#0B1124 #1A2653 #283C82 #3652B1 #5972CC

Accessibility & contrast

On white

10.20
#283C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283C82
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C82#FFFFFF#000000##FFFFFF
##283C821.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104584
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #283c82;
/* rgb */ color: rgb(40, 60, 130);
/* oklch */ color: oklch(38.2% 0.120 268.2);
Tailwind
colors: {
  custom: {
    50: '#6d71a7',
    500: '#283c82',
    950: '#000000',
  },
}
SCSS
$custom: #283c82;
$custom-light: #6d71a7;
$custom-dark: #000000;
JSON
{
  "hex": "#283c82",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 130
  },
  "hsl": {
    "h": 226.667,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38172,
    "c": 0.12037,
    "h": 268.2
  },
  "luminance": 0.05295
}

Semantic roles & 50–950 ramp

primary
#283C82
secondary
#B19C55
accent
#BC4BDC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #283C82

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

Preview Lab → · Contrast checker → · Palette generator →

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