#284085#284085

#284085 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.3% C 0.119 H 266.5°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#284085
RGBrgb(40, 64, 133)
HSLhsl(225, 54%, 34%)
HSVhsv(225, 70%, 52%)
CMYKcmyk(69.9%, 51.9%, 0%, 47.8%)
CIE-LABlab(28.93, 15.33, -41.55)
CIE-LCHlch(28.93, 44.28, 290.25°)
OKLaboklab(39.28% -0.0073 -0.1192)
OKLCHoklch(39.28% 0.119 266.5)
XYZxyz(6.9406, 5.8107, 22.9416)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284085 #856D28
analogous
#286F85 #284085 #3F2885
triadic
#284085 #852840 #408528
tetradic
#284085 #85286F #856D28 #28853F
square
#284085 #85286F #856D28 #28853F
split-complementary
#284085 #853F28 #6F8528
monochromatic
#0C1327 #1A2956 #284085 #3657B4 #5A78CD

Accessibility & contrast

On white

9.71
#284085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284085
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284085#FFFFFF#000000##FFFFFF
##2840851.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184987
Deuteranopia (green-blind)
#004084
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #284085;
/* rgb */ color: rgb(40, 64, 133);
/* oklch */ color: oklch(39.3% 0.119 266.5);
Tailwind
colors: {
  custom: {
    50: '#6e74a9',
    500: '#284085',
    950: '#000000',
  },
}
SCSS
$custom: #284085;
$custom-light: #6e74a9;
$custom-dark: #000000;
JSON
{
  "hex": "#284085",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 133
  },
  "hsl": {
    "h": 224.516,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39283,
    "c": 0.11944,
    "h": 266.5
  },
  "luminance": 0.05811
}

Semantic roles & 50–950 ramp

primary
#284085
secondary
#B39B56
accent
#B74BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #284085

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

Preview Lab → · Contrast checker → · Palette generator →

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