#283F6A#283F6A

#283F6A is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.1% C 0.080 H 261.9°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#283F6A
RGBrgb(40, 63, 106)
HSLhsl(219, 45%, 29%)
HSVhsv(219, 62%, 42%)
CMYKcmyk(62.3%, 40.6%, 0%, 58.4%)
CIE-LABlab(26.87, 5.69, -27.83)
CIE-LCHlch(26.87, 28.40, 281.56°)
OKLaboklab(37.13% -0.0112 -0.0789)
OKLCHoklch(37.13% 0.08 261.9)
XYZxyz(5.2532, 5.0463, 14.3301)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F6A #6A5328
analogous
#28606A #283F6A #32286A
triadic
#283F6A #6A283F #3F6A28
tetradic
#283F6A #6A2860 #6A5328 #286A32
square
#283F6A #6A2860 #6A5328 #286A32
split-complementary
#283F6A #6A3228 #606A28
monochromatic
#080D16 #17253E #283F6A #395996 #5076BD

Accessibility & contrast

On white

10.45
#283F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#283F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F6A
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F6A#FFFFFF#000000##FFFFFF
##283F6A1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D436C
Deuteranopia (green-blind)
#243D69
Tritanopia (blue-blind)
#00494F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283f6a;
/* rgb */ color: rgb(40, 63, 106);
/* oklch */ color: oklch(37.1% 0.080 261.9);
Tailwind
colors: {
  custom: {
    50: '#687395',
    500: '#283f6a',
    950: '#000000',
  },
}
SCSS
$custom: #283f6a;
$custom-light: #687395;
$custom-dark: #000000;
JSON
{
  "hex": "#283f6a",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 106
  },
  "hsl": {
    "h": 219.091,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37131,
    "c": 0.07973,
    "h": 261.9
  },
  "luminance": 0.05047
}

Semantic roles & 50–950 ramp

primary
#283F6A
secondary
#9D8251
accent
#A853D5
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #283F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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