#283C66#283C66

#283C66 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.1% C 0.077 H 263.7°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#283C66
RGBrgb(40, 60, 102)
HSLhsl(221, 44%, 28%)
HSVhsv(221, 61%, 40%)
CMYKcmyk(60.8%, 41.2%, 0%, 60%)
CIE-LABlab(25.69, 6.25, -27.12)
CIE-LCHlch(25.69, 27.83, 282.98°)
OKLaboklab(36.14% -0.0085 -0.0769)
OKLCHoklch(36.14% 0.077 263.7)
XYZxyz(4.8884, 4.6417, 13.2061)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C66 #665228
analogous
#285B66 #283C66 #332866
triadic
#283C66 #66283C #3C6628
tetradic
#283C66 #66285B #665228 #286633
square
#283C66 #66285B #665228 #286633
split-complementary
#283C66 #663328 #5B6628
monochromatic
#090D16 #17223A #283C66 #395692 #4F71BA

Accessibility & contrast

On white

10.89
#283C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#283C66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C66
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C66#FFFFFF#000000##FFFFFF
##283C661.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4068
Deuteranopia (green-blind)
#223A65
Tritanopia (blue-blind)
#00454C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #283c66;
/* rgb */ color: rgb(40, 60, 102);
/* oklch */ color: oklch(36.1% 0.077 263.7);
Tailwind
colors: {
  custom: {
    50: '#687192',
    500: '#283c66',
    950: '#000000',
  },
}
SCSS
$custom: #283c66;
$custom-light: #687192;
$custom-dark: #000000;
JSON
{
  "hex": "#283c66",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 102
  },
  "hsl": {
    "h": 220.645,
    "s": 43.662,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36143,
    "c": 0.07738,
    "h": 263.7
  },
  "luminance": 0.04642
}

Semantic roles & 50–950 ramp

primary
#283C66
secondary
#998251
accent
#AA54D3
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #283C66

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

Preview Lab → · Contrast checker → · Palette generator →

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