#284783#284783

#284783 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.7% C 0.107 H 262.2°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#284783
RGBrgb(40, 71, 131)
HSLhsl(220, 53%, 34%)
HSVhsv(220, 69%, 51%)
CMYKcmyk(69.5%, 45.8%, 0%, 48.6%)
CIE-LABlab(30.87, 9.77, -37.19)
CIE-LCHlch(30.87, 38.45, 284.73°)
OKLaboklab(40.72% -0.0146 -0.1063)
OKLCHoklch(40.72% 0.107 262.2)
XYZxyz(7.2236, 6.5956, 22.3607)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284783 #836428
analogous
#287483 #284783 #362883
triadic
#284783 #832847 #478328
tetradic
#284783 #832874 #836428 #288336
square
#284783 #832874 #836428 #288336
split-complementary
#284783 #833628 #748328
monochromatic
#0B1425 #1A2E54 #284783 #3660B2 #5980CC

Accessibility & contrast

On white

9.05
#284783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#284783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284783
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284783#FFFFFF#000000##FFFFFF
##2847831.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4D85
Deuteranopia (green-blind)
#1A4582
Tritanopia (blue-blind)
#00555E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #284783;
/* rgb */ color: rgb(40, 71, 131);
/* oklch */ color: oklch(40.7% 0.107 262.2);
Tailwind
colors: {
  custom: {
    50: '#6d79a7',
    500: '#284783',
    950: '#000000',
  },
}
SCSS
$custom: #284783;
$custom-light: #6d79a7;
$custom-dark: #000000;
JSON
{
  "hex": "#284783",
  "rgb": {
    "r": 40,
    "g": 71,
    "b": 131
  },
  "hsl": {
    "h": 219.56,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40723,
    "c": 0.1073,
    "h": 262.2
  },
  "luminance": 0.06596
}

Semantic roles & 50–950 ramp

primary
#284783
secondary
#B19255
accent
#AB4BDD
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #284783

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

Preview Lab → · Contrast checker → · Palette generator →

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