#284485#284485

#284485 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.2% C 0.114 H 264.3°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#284485
RGBrgb(40, 68, 133)
HSLhsl(222, 54%, 34%)
HSVhsv(222, 70%, 52%)
CMYKcmyk(69.9%, 48.9%, 0%, 47.8%)
CIE-LABlab(30.10, 12.59, -39.66)
CIE-LCHlch(30.10, 41.61, 287.61°)
OKLaboklab(40.18% -0.0112 -0.1136)
OKLCHoklch(40.18% 0.114 264.3)
XYZxyz(7.1743, 6.2781, 23.0195)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284485 #856928
analogous
#287385 #284485 #3B2885
triadic
#284485 #852844 #448528
tetradic
#284485 #852873 #856928 #28853B
square
#284485 #852873 #856928 #28853B
split-complementary
#284485 #853B28 #738528
monochromatic
#0C1427 #1A2C56 #284485 #365CB4 #5A7DCD

Accessibility & contrast

On white

9.31
#284485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#284485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284485
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284485#FFFFFF#000000##FFFFFF
##2844851.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224B87
Deuteranopia (green-blind)
#0D4384
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #284485;
/* rgb */ color: rgb(40, 68, 133);
/* oklch */ color: oklch(40.2% 0.114 264.3);
Tailwind
colors: {
  custom: {
    50: '#6d77a9',
    500: '#284485',
    950: '#000000',
  },
}
SCSS
$custom: #284485;
$custom-light: #6d77a9;
$custom-dark: #000000;
JSON
{
  "hex": "#284485",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 133
  },
  "hsl": {
    "h": 221.935,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40178,
    "c": 0.11416,
    "h": 264.3
  },
  "luminance": 0.06279
}

Semantic roles & 50–950 ramp

primary
#284485
secondary
#B39756
accent
#B14BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #284485

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

Preview Lab → · Contrast checker → · Palette generator →

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