#284375#284375

#284375 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 38.8% C 0.091 H 261.7°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#284375
RGBrgb(40, 67, 117)
HSLhsl(219, 49%, 31%)
HSVhsv(219, 66%, 46%)
CMYKcmyk(65.8%, 42.7%, 0%, 54.1%)
CIE-LABlab(28.77, 7.12, -31.79)
CIE-LCHlch(28.77, 32.57, 282.63°)
OKLaboklab(38.82% -0.0132 -0.0905)
OKLCHoklch(38.82% 0.091 261.7)
XYZxyz(6.0920, 5.7492, 17.6148)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284375 #755A28
analogous
#286975 #284375 #332875
triadic
#284375 #752843 #437528
tetradic
#284375 #752869 #755A28 #287533
square
#284375 #752869 #755A28 #287533
split-complementary
#284375 #753328 #697528
monochromatic
#090F1A #182947 #284375 #385DA3 #537BC4

Accessibility & contrast

On white

9.77
#284375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284375
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284375#FFFFFF#000000##FFFFFF
##2843751.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #284375;
/* rgb */ color: rgb(40, 67, 117);
/* oklch */ color: oklch(38.8% 0.091 261.7);
Tailwind
colors: {
  custom: {
    50: '#6a769d',
    500: '#284375',
    950: '#000000',
  },
}
SCSS
$custom: #284375;
$custom-light: #6a769d;
$custom-dark: #000000;
JSON
{
  "hex": "#284375",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 117
  },
  "hsl": {
    "h": 218.961,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3882,
    "c": 0.09145,
    "h": 261.7
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#284375
secondary
#A78952
accent
#A84FD9
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #284375

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

Preview Lab → · Contrast checker → · Palette generator →

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