#284372#284372

#284372 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.6% C 0.087 H 260.8°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#284372
RGBrgb(40, 67, 114)
HSLhsl(218, 48%, 30%)
HSVhsv(218, 65%, 45%)
CMYKcmyk(64.9%, 41.2%, 0%, 55.3%)
CIE-LABlab(28.59, 5.98, -30.18)
CIE-LCHlch(28.59, 30.77, 281.21°)
OKLaboklab(38.62% -0.0139 -0.0858)
OKLCHoklch(38.62% 0.087 260.8)
XYZxyz(5.9184, 5.6798, 16.7007)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284372 #725728
analogous
#286872 #284372 #322872
triadic
#284372 #722843 #437228
tetradic
#284372 #722868 #725728 #287232
square
#284372 #722868 #725728 #287232
split-complementary
#284372 #723228 #687228
monochromatic
#080E17 #182845 #284372 #385E9F #527BC2

Accessibility & contrast

On white

9.83
#284372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#284372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284372
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284372#FFFFFF#000000##FFFFFF
##2843721.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4774
Deuteranopia (green-blind)
#244071
Tritanopia (blue-blind)
#004E55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #284372;
/* rgb */ color: rgb(40, 67, 114);
/* oklch */ color: oklch(38.6% 0.087 260.8);
Tailwind
colors: {
  custom: {
    50: '#6a769b',
    500: '#284372',
    950: '#000000',
  },
}
SCSS
$custom: #284372;
$custom-light: #6a769b;
$custom-dark: #000000;
JSON
{
  "hex": "#284372",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 114
  },
  "hsl": {
    "h": 218.108,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38621,
    "c": 0.08691,
    "h": 260.8
  },
  "luminance": 0.0568
}

Semantic roles & 50–950 ramp

primary
#284372
secondary
#A48652
accent
#A650D8
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #284372

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

Preview Lab → · Contrast checker → · Palette generator →

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