#284073#284073

#284073 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.0% C 0.092 H 263.6°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#284073
RGBrgb(40, 64, 115)
HSLhsl(221, 48%, 30%)
HSVhsv(221, 65%, 45%)
CMYKcmyk(65.2%, 44.3%, 0%, 54.9%)
CIE-LABlab(27.72, 8.41, -32.19)
CIE-LCHlch(27.72, 33.27, 284.64°)
OKLaboklab(37.97% -0.0103 -0.0917)
OKLCHoklch(37.97% 0.092 263.6)
XYZxyz(5.8019, 5.3552, 16.9442)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284073 #735B28
analogous
#286573 #284073 #352873
triadic
#284073 #732840 #407328
tetradic
#284073 #732865 #735B28 #287335
square
#284073 #732865 #735B28 #287335
split-complementary
#284073 #733528 #657328
monochromatic
#080D18 #182746 #284073 #3859A0 #5276C3

Accessibility & contrast

On white

10.14
#284073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#284073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284073
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284073#FFFFFF#000000##FFFFFF
##2840731.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294575
Deuteranopia (green-blind)
#1E3E72
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #284073;
/* rgb */ color: rgb(40, 64, 115);
/* oklch */ color: oklch(38.0% 0.092 263.6);
Tailwind
colors: {
  custom: {
    50: '#6a749b',
    500: '#284073',
    950: '#000000',
  },
}
SCSS
$custom: #284073;
$custom-light: #6a749b;
$custom-dark: #000000;
JSON
{
  "hex": "#284073",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 115
  },
  "hsl": {
    "h": 220.8,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37972,
    "c": 0.09229,
    "h": 263.6
  },
  "luminance": 0.05356
}

Semantic roles & 50–950 ramp

primary
#284073
secondary
#A58A52
accent
#AC50D8
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #284073

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

Preview Lab → · Contrast checker → · Palette generator →

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