#283F66#283F66

#283F66 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 36.9% C 0.074 H 260.4°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#283F66
RGBrgb(40, 63, 102)
HSLhsl(218, 44%, 28%)
HSVhsv(218, 61%, 40%)
CMYKcmyk(60.8%, 38.2%, 0%, 60%)
CIE-LABlab(26.63, 4.20, -25.63)
CIE-LCHlch(26.63, 25.97, 279.31°)
OKLaboklab(36.88% -0.0122 -0.0725)
OKLCHoklch(36.88% 0.074 260.4)
XYZxyz(5.0500, 4.9650, 13.2600)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F66 #664F28
analogous
#285E66 #283F66 #302866
triadic
#283F66 #66283F #3F6628
tetradic
#283F66 #66285E #664F28 #286630
square
#283F66 #66285E #664F28 #286630
split-complementary
#283F66 #663028 #5E6628
monochromatic
#090E16 #17243A #283F66 #395A92 #4F76BA

Accessibility & contrast

On white

10.54
#283F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#283F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F66
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F66#FFFFFF#000000##FFFFFF
##283F661.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4268
Deuteranopia (green-blind)
#273C65
Tritanopia (blue-blind)
#00484D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283f66;
/* rgb */ color: rgb(40, 63, 102);
/* oklch */ color: oklch(36.9% 0.074 260.4);
Tailwind
colors: {
  custom: {
    50: '#687392',
    500: '#283f66',
    950: '#000000',
  },
}
SCSS
$custom: #283f66;
$custom-light: #687392;
$custom-dark: #000000;
JSON
{
  "hex": "#283f66",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 102
  },
  "hsl": {
    "h": 217.742,
    "s": 43.662,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36876,
    "c": 0.07354,
    "h": 260.4
  },
  "luminance": 0.04965
}

Semantic roles & 50–950 ramp

primary
#283F66
secondary
#997E51
accent
#A454D3
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06080D
muted
#7A7B7D

Preview Lab

Preview with #283F66

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

Preview Lab → · Contrast checker → · Palette generator →

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