#283D63#283D63

#283D63 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.2% C 0.071 H 261.5°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#283D63
RGBrgb(40, 61, 99)
HSLhsl(219, 42%, 27%)
HSVhsv(219, 60%, 39%)
CMYKcmyk(59.6%, 38.4%, 0%, 61.2%)
CIE-LABlab(25.83, 4.45, -24.96)
CIE-LCHlch(25.83, 25.36, 280.11°)
OKLaboklab(36.2% -0.0105 -0.0706)
OKLCHoklch(36.2% 0.071 261.5)
XYZxyz(4.7952, 4.6891, 12.4544)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D63 #634E28
analogous
#285B63 #283D63 #312863
triadic
#283D63 #63283D #3D6328
tetradic
#283D63 #63285B #634E28 #286331
square
#283D63 #63285B #634E28 #286331
split-complementary
#283D63 #633128 #5B6328
monochromatic
#090D16 #162237 #283D63 #3A588F #4E73B7

Accessibility & contrast

On white

10.84
#283D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283D63
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D63#FFFFFF#000000##FFFFFF
##283D631.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4065
Deuteranopia (green-blind)
#263B62
Tritanopia (blue-blind)
#02454B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #283d63;
/* rgb */ color: rgb(40, 61, 99);
/* oklch */ color: oklch(36.2% 0.071 261.5);
Tailwind
colors: {
  custom: {
    50: '#67728f',
    500: '#283d63',
    950: '#000000',
  },
}
SCSS
$custom: #283d63;
$custom-light: #67728f;
$custom-dark: #000000;
JSON
{
  "hex": "#283d63",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 99
  },
  "hsl": {
    "h": 218.644,
    "s": 42.446,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36195,
    "c": 0.07138,
    "h": 261.5
  },
  "luminance": 0.04689
}

Semantic roles & 50–950 ramp

primary
#283D63
secondary
#967D51
accent
#A656D2
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #283D63

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

Preview Lab → · Contrast checker → · Palette generator →

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