#283F6F#283F6F

#283F6F is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.5% C 0.087 H 263.5°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#283F6F
RGBrgb(40, 63, 111)
HSLhsl(221, 47%, 30%)
HSVhsv(221, 64%, 44%)
CMYKcmyk(64%, 43.2%, 0%, 56.5%)
CIE-LABlab(27.17, 7.57, -30.54)
CIE-LCHlch(27.17, 31.46, 283.93°)
OKLaboklab(37.46% -0.01 -0.0869)
OKLCHoklch(37.46% 0.087 263.5)
XYZxyz(5.5208, 5.1533, 15.7396)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F6F #6F5828
analogous
#28636F #283F6F #34286F
triadic
#283F6F #6F283F #3F6F28
tetradic
#283F6F #6F2863 #6F5828 #286F34
square
#283F6F #6F2863 #6F5828 #286F34
split-complementary
#283F6F #6F3428 #636F28
monochromatic
#080D16 #182542 #283F6F #38599C #5175C0

Accessibility & contrast

On white

10.34
#283F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#283F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F6F
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F6F#FFFFFF#000000##FFFFFF
##283F6F1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4471
Deuteranopia (green-blind)
#203D6E
Tritanopia (blue-blind)
#004A51
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #283f6f;
/* rgb */ color: rgb(40, 63, 111);
/* oklch */ color: oklch(37.5% 0.087 263.5);
Tailwind
colors: {
  custom: {
    50: '#697398',
    500: '#283f6f',
    950: '#000000',
  },
}
SCSS
$custom: #283f6f;
$custom-light: #697398;
$custom-dark: #000000;
JSON
{
  "hex": "#283f6f",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 111
  },
  "hsl": {
    "h": 220.563,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37462,
    "c": 0.08746,
    "h": 263.5
  },
  "luminance": 0.05154
}

Semantic roles & 50–950 ramp

primary
#283F6F
secondary
#A18751
accent
#AB51D7
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #283F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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