#284475#284475

#284475 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.1% C 0.090 H 260.8°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#284475
RGBrgb(40, 68, 117)
HSLhsl(218, 49%, 31%)
HSVhsv(218, 66%, 46%)
CMYKcmyk(65.8%, 41.9%, 0%, 54.1%)
CIE-LABlab(29.08, 6.44, -31.29)
CIE-LCHlch(29.08, 31.95, 281.63°)
OKLaboklab(39.06% -0.0144 -0.089)
OKLCHoklch(39.06% 0.09 260.8)
XYZxyz(6.1519, 5.8691, 17.6348)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284475 #755928
analogous
#286A75 #284475 #322875
triadic
#284475 #752844 #447528
tetradic
#284475 #75286A #755928 #287532
square
#284475 #75286A #755928 #287532
split-complementary
#284475 #753228 #6A7528
monochromatic
#090F1A #182947 #284475 #385FA3 #537CC4

Accessibility & contrast

On white

9.66
#284475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#284475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284475
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284475#FFFFFF#000000##FFFFFF
##2844751.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4877
Deuteranopia (green-blind)
#234174
Tritanopia (blue-blind)
#004F56
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #284475;
/* rgb */ color: rgb(40, 68, 117);
/* oklch */ color: oklch(39.1% 0.090 260.8);
Tailwind
colors: {
  custom: {
    50: '#6a779d',
    500: '#284475',
    950: '#000000',
  },
}
SCSS
$custom: #284475;
$custom-light: #6a779d;
$custom-dark: #000000;
JSON
{
  "hex": "#284475",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 117
  },
  "hsl": {
    "h": 218.182,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3906,
    "c": 0.09019,
    "h": 260.8
  },
  "luminance": 0.0587
}

Semantic roles & 50–950 ramp

primary
#284475
secondary
#A78852
accent
#A74FD9
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #284475

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

Preview Lab → · Contrast checker → · Palette generator →

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