#284285#284285

#284285 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.7% C 0.117 H 265.5°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#284285
RGBrgb(40, 66, 133)
HSLhsl(223, 54%, 34%)
HSVhsv(223, 70%, 52%)
CMYKcmyk(69.9%, 50.4%, 0%, 47.8%)
CIE-LABlab(29.51, 13.95, -40.60)
CIE-LCHlch(29.51, 42.93, 288.97°)
OKLaboklab(39.73% -0.0093 -0.1164)
OKLCHoklch(39.73% 0.117 265.5)
XYZxyz(7.0554, 6.0403, 22.9798)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284285 #856B28
analogous
#287185 #284285 #3D2885
triadic
#284285 #852842 #428528
tetradic
#284285 #852871 #856B28 #28853D
square
#284285 #852871 #856B28 #28853D
split-complementary
#284285 #853D28 #718528
monochromatic
#0C1327 #1A2B56 #284285 #3659B4 #5A7ACD

Accessibility & contrast

On white

9.51
#284285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#284285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284285
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284285#FFFFFF#000000##FFFFFF
##2842851.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4A87
Deuteranopia (green-blind)
#044284
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #284285;
/* rgb */ color: rgb(40, 66, 133);
/* oklch */ color: oklch(39.7% 0.117 265.5);
Tailwind
colors: {
  custom: {
    50: '#6e75a9',
    500: '#284285',
    950: '#000000',
  },
}
SCSS
$custom: #284285;
$custom-light: #6e75a9;
$custom-dark: #000000;
JSON
{
  "hex": "#284285",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 133
  },
  "hsl": {
    "h": 223.226,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39728,
    "c": 0.11679,
    "h": 265.5
  },
  "luminance": 0.06041
}

Semantic roles & 50–950 ramp

primary
#284285
secondary
#B39956
accent
#B44BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #284285

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

Preview Lab → · Contrast checker → · Palette generator →

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