#284164#284164

#284164 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.3% C 0.068 H 257.0°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#284164
RGBrgb(40, 65, 100)
HSLhsl(215, 43%, 27%)
HSVhsv(215, 60%, 39%)
CMYKcmyk(60%, 35%, 0%, 60.8%)
CIE-LABlab(27.16, 2.11, -23.51)
CIE-LCHlch(27.16, 23.61, 275.13°)
OKLaboklab(37.25% -0.0153 -0.0663)
OKLCHoklch(37.25% 0.068 257)
XYZxyz(5.0648, 5.1514, 12.7815)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284164 #644B28
analogous
#285F64 #284164 #2D2864
triadic
#284164 #642841 #416428
tetradic
#284164 #64285F #644B28 #28642D
square
#284164 #64285F #644B28 #28642D
split-complementary
#284164 #642D28 #5F6428
monochromatic
#090E16 #172538 #284164 #395D90 #4E7AB8

Accessibility & contrast

On white

10.34
#284164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#284164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##284164#FFFFFF#000000##FFFFFF
##2841641.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)
#334365
Deuteranopia (green-blind)
#2B3E63
Tritanopia (blue-blind)
#00494E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #284164;
/* rgb */ color: rgb(40, 65, 100);
/* oklch */ color: oklch(37.3% 0.068 257.0);
Tailwind
colors: {
  custom: {
    50: '#677590',
    500: '#284164',
    950: '#000000',
  },
}
SCSS
$custom: #284164;
$custom-light: #677590;
$custom-dark: #000000;
JSON
{
  "hex": "#284164",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 100
  },
  "hsl": {
    "h": 215,
    "s": 42.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37251,
    "c": 0.06808,
    "h": 257
  },
  "luminance": 0.05152
}

Semantic roles & 50–950 ramp

primary
#284164
secondary
#977A51
accent
#9E55D3
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #284164

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

Preview Lab → · Contrast checker → · Palette generator →

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