#284883#284883

#284883 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.0% C 0.106 H 261.5°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#284883
RGBrgb(40, 72, 131)
HSLhsl(219, 53%, 34%)
HSVhsv(219, 69%, 51%)
CMYKcmyk(69.5%, 45%, 0%, 48.6%)
CIE-LABlab(31.17, 9.10, -36.71)
CIE-LCHlch(31.17, 37.82, 283.92°)
OKLaboklab(40.96% -0.0157 -0.1049)
OKLCHoklch(40.96% 0.106 261.5)
XYZxyz(7.2877, 6.7238, 22.3821)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284883 #836328
analogous
#287583 #284883 #352883
triadic
#284883 #832848 #488328
tetradic
#284883 #832875 #836328 #288335
square
#284883 #832875 #836328 #288335
split-complementary
#284883 #833528 #758328
monochromatic
#0B1425 #1A2E54 #284883 #3662B2 #5982CC

Accessibility & contrast

On white

8.96
#284883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#284883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284883
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284883#FFFFFF#000000##FFFFFF
##2848831.008.962.358.96
#FFFFFF8.961.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4E85
Deuteranopia (green-blind)
#1C4582
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #284883;
/* rgb */ color: rgb(40, 72, 131);
/* oklch */ color: oklch(41.0% 0.106 261.5);
Tailwind
colors: {
  custom: {
    50: '#6d7aa7',
    500: '#284883',
    950: '#000000',
  },
}
SCSS
$custom: #284883;
$custom-light: #6d7aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#284883",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 131
  },
  "hsl": {
    "h": 218.901,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40955,
    "c": 0.10603,
    "h": 261.5
  },
  "luminance": 0.06725
}

Semantic roles & 50–950 ramp

primary
#284883
secondary
#B19155
accent
#A94BDD
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #284883

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

Preview Lab → · Contrast checker → · Palette generator →

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