#283F68#283F68

#283F68 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.0% C 0.077 H 261.2°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#283F68
RGBrgb(40, 63, 104)
HSLhsl(218, 44%, 28%)
HSVhsv(218, 62%, 41%)
CMYKcmyk(61.5%, 39.4%, 0%, 59.2%)
CIE-LABlab(26.75, 4.94, -26.73)
CIE-LCHlch(26.75, 27.18, 280.47°)
OKLaboklab(37% -0.0117 -0.0757)
OKLCHoklch(37% 0.077 261.2)
XYZxyz(5.1504, 5.0052, 13.7887)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F68 #685128
analogous
#285F68 #283F68 #312868
triadic
#283F68 #68283F #3F6828
tetradic
#283F68 #68285F #685128 #286831
square
#283F68 #68285F #685128 #286831
split-complementary
#283F68 #683128 #5F6828
monochromatic
#090D16 #17243C #283F68 #395A94 #4F76BB

Accessibility & contrast

On white

10.49
#283F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#283F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F68
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F68#FFFFFF#000000##FFFFFF
##283F681.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E426A
Deuteranopia (green-blind)
#263D67
Tritanopia (blue-blind)
#00484E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283f68;
/* rgb */ color: rgb(40, 63, 104);
/* oklch */ color: oklch(37.0% 0.077 261.2);
Tailwind
colors: {
  custom: {
    50: '#687393',
    500: '#283f68',
    950: '#000000',
  },
}
SCSS
$custom: #283f68;
$custom-light: #687393;
$custom-dark: #000000;
JSON
{
  "hex": "#283f68",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 104
  },
  "hsl": {
    "h": 218.438,
    "s": 44.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37003,
    "c": 0.07664,
    "h": 261.2
  },
  "luminance": 0.05006
}

Semantic roles & 50–950 ramp

primary
#283F68
secondary
#9B8051
accent
#A654D4
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #283F68

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

Preview Lab → · Contrast checker → · Palette generator →

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