#284167#284167

#284167 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.4% C 0.073 H 258.5°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#284167
RGBrgb(40, 65, 103)
HSLhsl(216, 44%, 28%)
HSVhsv(216, 61%, 40%)
CMYKcmyk(61.2%, 36.9%, 0%, 59.6%)
CIE-LABlab(27.33, 3.22, -25.18)
CIE-LCHlch(27.33, 25.38, 277.28°)
OKLaboklab(37.43% -0.0145 -0.0712)
OKLCHoklch(37.43% 0.073 258.5)
XYZxyz(5.2127, 5.2105, 13.5604)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284167 #674E28
analogous
#286067 #284167 #2E2867
triadic
#284167 #672841 #416728
tetradic
#284167 #672860 #674E28 #28672E
square
#284167 #672860 #674E28 #28672E
split-complementary
#284167 #672E28 #606728
monochromatic
#090E16 #17253B #284167 #395D93 #4F7ABB

Accessibility & contrast

On white

10.28
#284167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#284167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284167
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284167#FFFFFF#000000##FFFFFF
##2841671.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314469
Deuteranopia (green-blind)
#293E66
Tritanopia (blue-blind)
#004A4F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #284167;
/* rgb */ color: rgb(40, 65, 103);
/* oklch */ color: oklch(37.4% 0.073 258.5);
Tailwind
colors: {
  custom: {
    50: '#687592',
    500: '#284167',
    950: '#000000',
  },
}
SCSS
$custom: #284167;
$custom-light: #687592;
$custom-dark: #000000;
JSON
{
  "hex": "#284167",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 103
  },
  "hsl": {
    "h": 216.19,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37433,
    "c": 0.07263,
    "h": 258.5
  },
  "luminance": 0.05211
}

Semantic roles & 50–950 ramp

primary
#284167
secondary
#9A7D51
accent
#A154D4
background
#F6F7F9
surface
#EBEDF1
border
#C6C8CB
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #284167

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

Preview Lab → · Contrast checker → · Palette generator →

#284167 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva