#283C6A#283C6A

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

Color values

HEX#283C6A
RGBrgb(40, 60, 106)
HSLhsl(222, 45%, 29%)
HSVhsv(222, 62%, 42%)
CMYKcmyk(62.3%, 43.4%, 0%, 58.4%)
CIE-LABlab(25.93, 7.75, -29.31)
CIE-LCHlch(25.93, 30.32, 284.81°)
OKLaboklab(36.41% -0.0075 -0.0833)
OKLCHoklch(36.41% 0.084 264.9)
XYZxyz(5.0916, 4.7230, 14.2762)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C6A #6A5628
analogous
#285D6A #283C6A #35286A
triadic
#283C6A #6A283C #3C6A28
tetradic
#283C6A #6A285D #6A5628 #286A35
square
#283C6A #6A285D #6A5628 #286A35
split-complementary
#283C6A #6A3528 #5D6A28
monochromatic
#080D16 #17233E #283C6A #395596 #5071BD

Accessibility & contrast

On white

10.80
#283C6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#283C6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C6A
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C6A#FFFFFF#000000##FFFFFF
##283C6A1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28416C
Deuteranopia (green-blind)
#1F3B69
Tritanopia (blue-blind)
#00464D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #283c6a;
/* rgb */ color: rgb(40, 60, 106);
/* oklch */ color: oklch(36.4% 0.084 264.9);
Tailwind
colors: {
  custom: {
    50: '#687195',
    500: '#283c6a',
    950: '#000000',
  },
}
SCSS
$custom: #283c6a;
$custom-light: #687195;
$custom-dark: #000000;
JSON
{
  "hex": "#283c6a",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 106
  },
  "hsl": {
    "h": 221.818,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36408,
    "c": 0.08367,
    "h": 264.9
  },
  "luminance": 0.04723
}

Semantic roles & 50–950 ramp

primary
#283C6A
secondary
#9D8651
accent
#AE53D5
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #283C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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