#284377#284377

#284377 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.094 H 262.2°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#284377
RGBrgb(40, 67, 119)
HSLhsl(219, 50%, 31%)
HSVhsv(219, 66%, 47%)
CMYKcmyk(66.4%, 43.7%, 0%, 53.3%)
CIE-LABlab(28.89, 7.88, -32.85)
CIE-LCHlch(28.89, 33.78, 283.49°)
OKLaboklab(38.96% -0.0128 -0.0936)
OKLCHoklch(38.96% 0.094 262.2)
XYZxyz(6.2108, 5.7968, 18.2408)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284377 #775C28
analogous
#286A77 #284377 #342877
triadic
#284377 #772843 #437728
tetradic
#284377 #77286A #775C28 #287734
square
#284377 #77286A #775C28 #287734
split-complementary
#284377 #773428 #6A7728
monochromatic
#090F1B #192949 #284377 #375DA5 #547BC5

Accessibility & contrast

On white

9.72
#284377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#284377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284377
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284377#FFFFFF#000000##FFFFFF
##2843771.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4879
Deuteranopia (green-blind)
#1F4176
Tritanopia (blue-blind)
#004F57
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #284377;
/* rgb */ color: rgb(40, 67, 119);
/* oklch */ color: oklch(39.0% 0.094 262.2);
Tailwind
colors: {
  custom: {
    50: '#6b769e',
    500: '#284377',
    950: '#000000',
  },
}
SCSS
$custom: #284377;
$custom-light: #6b769e;
$custom-dark: #000000;
JSON
{
  "hex": "#284377",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 119
  },
  "hsl": {
    "h": 219.494,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38955,
    "c": 0.09448,
    "h": 262.2
  },
  "luminance": 0.05797
}

Semantic roles & 50–950 ramp

primary
#284377
secondary
#A98B52
accent
#AA4FD9
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #284377

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

Preview Lab → · Contrast checker → · Palette generator →

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