#283D5F#283D5F

#283D5F is a dark, moderate blue. Relative luminance 0.046; OKLCH L 35.9% C 0.065 H 259.7°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#283D5F
RGBrgb(40, 61, 95)
HSLhsl(217, 41%, 26%)
HSVhsv(217, 58%, 37%)
CMYKcmyk(57.9%, 35.8%, 0%, 62.7%)
CIE-LABlab(25.61, 2.99, -22.73)
CIE-LCHlch(25.61, 22.92, 277.49°)
OKLaboklab(35.95% -0.0117 -0.0641)
OKLCHoklch(35.95% 0.065 259.7)
XYZxyz(4.6087, 4.6145, 11.4721)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D5F #5F4A28
analogous
#28595F #283D5F #2F285F
triadic
#283D5F #5F283D #3D5F28
tetradic
#283D5F #5F2859 #5F4A28 #285F2F
square
#283D5F #5F2859 #5F4A28 #285F2F
split-complementary
#283D5F #5F2F28 #595F28
monochromatic
#090E16 #162134 #283D5F #3A598A #4D75B4

Accessibility & contrast

On white

10.92
#283D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#283D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D5F
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D5F#FFFFFF#000000##FFFFFF
##283D5F1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3F60
Deuteranopia (green-blind)
#293A5E
Tritanopia (blue-blind)
#094549
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #283d5f;
/* rgb */ color: rgb(40, 61, 95);
/* oklch */ color: oklch(35.9% 0.065 259.7);
Tailwind
colors: {
  custom: {
    50: '#66728c',
    500: '#283d5f',
    950: '#000000',
  },
}
SCSS
$custom: #283d5f;
$custom-light: #66728c;
$custom-dark: #000000;
JSON
{
  "hex": "#283d5f",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 95
  },
  "hsl": {
    "h": 217.091,
    "s": 40.741,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35949,
    "c": 0.06513,
    "h": 259.7
  },
  "luminance": 0.04615
}

Semantic roles & 50–950 ramp

primary
#283D5F
secondary
#927951
accent
#A257D1
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #283D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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