#284672#284672

#284672 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.4% C 0.083 H 257.9°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#284672
RGBrgb(40, 70, 114)
HSLhsl(216, 48%, 30%)
HSVhsv(216, 65%, 45%)
CMYKcmyk(64.9%, 38.6%, 0%, 55.3%)
CIE-LABlab(29.53, 3.96, -28.69)
CIE-LCHlch(29.53, 28.96, 277.86°)
OKLaboklab(39.35% -0.0174 -0.0814)
OKLCHoklch(39.35% 0.083 257.9)
XYZxyz(6.1014, 6.0458, 16.7617)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284672 #725428
analogous
#286B72 #284672 #2F2872
triadic
#284672 #722846 #467228
tetradic
#284672 #72286B #725428 #28722F
square
#284672 #72286B #725428 #28722F
split-complementary
#284672 #722F28 #6B7228
monochromatic
#080E17 #182A45 #284672 #38629F #5280C2

Accessibility & contrast

On white

9.51
#284672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#284672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284672
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284672#FFFFFF#000000##FFFFFF
##2846721.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334974
Deuteranopia (green-blind)
#294271
Tritanopia (blue-blind)
#005056
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #284672;
/* rgb */ color: rgb(40, 70, 114);
/* oklch */ color: oklch(39.4% 0.083 257.9);
Tailwind
colors: {
  custom: {
    50: '#6a799b',
    500: '#284672',
    950: '#000000',
  },
}
SCSS
$custom: #284672;
$custom-light: #6a799b;
$custom-dark: #000000;
JSON
{
  "hex": "#284672",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 114
  },
  "hsl": {
    "h": 215.676,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3935,
    "c": 0.08324,
    "h": 257.9
  },
  "luminance": 0.06046
}

Semantic roles & 50–950 ramp

primary
#284672
secondary
#A48352
accent
#A150D8
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #284672

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

Preview Lab → · Contrast checker → · Palette generator →

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