#284076#284076

#284076 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.097 H 264.3°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#284076
RGBrgb(40, 64, 118)
HSLhsl(222, 49%, 31%)
HSVhsv(222, 66%, 46%)
CMYKcmyk(66.1%, 45.8%, 0%, 53.7%)
CIE-LABlab(27.91, 9.55, -33.78)
CIE-LCHlch(27.91, 35.11, 285.79°)
OKLaboklab(38.18% -0.0096 -0.0964)
OKLCHoklch(38.18% 0.097 264.3)
XYZxyz(5.9773, 5.4254, 17.8682)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284076 #765E28
analogous
#286776 #284076 #372876
triadic
#284076 #762840 #407628
tetradic
#284076 #762867 #765E28 #287637
square
#284076 #762867 #765E28 #287637
split-complementary
#284076 #763728 #677628
monochromatic
#090E1B #192748 #284076 #3759A4 #5476C5

Accessibility & contrast

On white

10.07
#284076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#284076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284076
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284076#FFFFFF#000000##FFFFFF
##2840761.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274678
Deuteranopia (green-blind)
#1A3F75
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #284076;
/* rgb */ color: rgb(40, 64, 118);
/* oklch */ color: oklch(38.2% 0.097 264.3);
Tailwind
colors: {
  custom: {
    50: '#6a749e',
    500: '#284076',
    950: '#000000',
  },
}
SCSS
$custom: #284076;
$custom-light: #6a749e;
$custom-dark: #000000;
JSON
{
  "hex": "#284076",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 118
  },
  "hsl": {
    "h": 221.538,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3818,
    "c": 0.09688,
    "h": 264.3
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#284076
secondary
#A88D52
accent
#AE4FD9
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #284076

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

Preview Lab → · Contrast checker → · Palette generator →

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