#283D66#283D66

#283D66 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.4% C 0.076 H 262.7°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#283D66
RGBrgb(40, 61, 102)
HSLhsl(220, 44%, 28%)
HSVhsv(220, 61%, 40%)
CMYKcmyk(60.8%, 40.2%, 0%, 60%)
CIE-LABlab(26.00, 5.56, -26.63)
CIE-LCHlch(26.00, 27.20, 281.80°)
OKLaboklab(36.39% -0.0097 -0.0754)
OKLCHoklch(36.39% 0.076 262.7)
XYZxyz(4.9413, 4.7475, 13.2238)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D66 #665128
analogous
#285C66 #283D66 #322866
triadic
#283D66 #66283D #3D6628
tetradic
#283D66 #66285C #665128 #286632
square
#283D66 #66285C #665128 #286632
split-complementary
#283D66 #663228 #5C6628
monochromatic
#090D16 #17233A #283D66 #395792 #4F73BA

Accessibility & contrast

On white

10.77
#283D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#283D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D66
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D66#FFFFFF#000000##FFFFFF
##283D661.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4168
Deuteranopia (green-blind)
#243B65
Tritanopia (blue-blind)
#00464C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283d66;
/* rgb */ color: rgb(40, 61, 102);
/* oklch */ color: oklch(36.4% 0.076 262.7);
Tailwind
colors: {
  custom: {
    50: '#687292',
    500: '#283d66',
    950: '#000000',
  },
}
SCSS
$custom: #283d66;
$custom-light: #687292;
$custom-dark: #000000;
JSON
{
  "hex": "#283d66",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 102
  },
  "hsl": {
    "h": 219.677,
    "s": 43.662,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36386,
    "c": 0.07607,
    "h": 262.7
  },
  "luminance": 0.04748
}

Semantic roles & 50–950 ramp

primary
#283D66
secondary
#998051
accent
#A854D3
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #283D66

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

Preview Lab → · Contrast checker → · Palette generator →

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