#283F6D#283F6D

#283F6D is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.3% C 0.084 H 262.9°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#283F6D
RGBrgb(40, 63, 109)
HSLhsl(220, 46%, 29%)
HSVhsv(220, 63%, 43%)
CMYKcmyk(63.3%, 42.2%, 0%, 57.3%)
CIE-LABlab(27.05, 6.82, -29.46)
CIE-LCHlch(27.05, 30.24, 283.03°)
OKLaboklab(37.33% -0.0104 -0.0837)
OKLCHoklch(37.33% 0.084 262.9)
XYZxyz(5.4119, 5.1098, 15.1661)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F6D #6D5628
analogous
#28626D #283F6D #34286D
triadic
#283F6D #6D283F #3F6D28
tetradic
#283F6D #6D2862 #6D5628 #286D34
square
#283F6D #6D2862 #6D5628 #286D34
split-complementary
#283F6D #6D3428 #626D28
monochromatic
#080D16 #182540 #283F6D #38599A #5075BF

Accessibility & contrast

On white

10.39
#283F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#283F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F6D
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F6D#FFFFFF#000000##FFFFFF
##283F6D1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B436F
Deuteranopia (green-blind)
#223D6C
Tritanopia (blue-blind)
#004950
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #283f6d;
/* rgb */ color: rgb(40, 63, 109);
/* oklch */ color: oklch(37.3% 0.084 262.9);
Tailwind
colors: {
  custom: {
    50: '#697397',
    500: '#283f6d',
    950: '#000000',
  },
}
SCSS
$custom: #283f6d;
$custom-light: #697397;
$custom-dark: #000000;
JSON
{
  "hex": "#283f6d",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 109
  },
  "hsl": {
    "h": 220,
    "s": 46.309,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37328,
    "c": 0.08437,
    "h": 262.9
  },
  "luminance": 0.0511
}

Semantic roles & 50–950 ramp

primary
#283F6D
secondary
#9F8551
accent
#AA52D6
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #283F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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