#284374#284374

#284374 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.8% C 0.090 H 261.4°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#284374
RGBrgb(40, 67, 116)
HSLhsl(219, 49%, 31%)
HSVhsv(219, 66%, 45%)
CMYKcmyk(65.5%, 42.2%, 0%, 54.5%)
CIE-LABlab(28.71, 6.74, -31.25)
CIE-LCHlch(28.71, 31.97, 282.17°)
OKLaboklab(38.75% -0.0135 -0.0889)
OKLCHoklch(38.75% 0.09 261.4)
XYZxyz(6.0335, 5.7258, 17.3068)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284374 #745928
analogous
#286974 #284374 #332874
triadic
#284374 #742843 #437428
tetradic
#284374 #742869 #745928 #287433
square
#284374 #742869 #745928 #287433
split-complementary
#284374 #743328 #697428
monochromatic
#090E19 #182946 #284374 #385DA2 #537BC4

Accessibility & contrast

On white

9.79
#284374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#284374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284374
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284374#FFFFFF#000000##FFFFFF
##2843741.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4776
Deuteranopia (green-blind)
#224073
Tritanopia (blue-blind)
#004E56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #284374;
/* rgb */ color: rgb(40, 67, 116);
/* oklch */ color: oklch(38.8% 0.090 261.4);
Tailwind
colors: {
  custom: {
    50: '#6a769c',
    500: '#284374',
    950: '#000000',
  },
}
SCSS
$custom: #284374;
$custom-light: #6a769c;
$custom-dark: #000000;
JSON
{
  "hex": "#284374",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 116
  },
  "hsl": {
    "h": 218.684,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38754,
    "c": 0.08994,
    "h": 261.4
  },
  "luminance": 0.05726
}

Semantic roles & 50–950 ramp

primary
#284374
secondary
#A68852
accent
#A850D8
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #284374

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

Preview Lab → · Contrast checker → · Palette generator →

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