#284685#284685

#284685 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.112 H 263.2°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#284685
RGBrgb(40, 70, 133)
HSLhsl(221, 54%, 34%)
HSVhsv(221, 70%, 52%)
CMYKcmyk(69.9%, 47.4%, 0%, 47.8%)
CIE-LABlab(30.70, 11.22, -38.70)
CIE-LCHlch(30.70, 40.30, 286.17°)
OKLaboklab(40.63% -0.0133 -0.1108)
OKLCHoklch(40.63% 0.112 263.2)
XYZxyz(7.2974, 6.5242, 23.0605)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284685 #856728
analogous
#287585 #284685 #392885
triadic
#284685 #852846 #468528
tetradic
#284685 #852875 #856728 #288539
square
#284685 #852875 #856728 #288539
split-complementary
#284685 #853928 #758528
monochromatic
#0C1427 #1A2D56 #284685 #365FB4 #5A7FCD

Accessibility & contrast

On white

9.11
#284685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#284685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284685
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284685#FFFFFF#000000##FFFFFF
##2846851.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264D87
Deuteranopia (green-blind)
#144484
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #284685;
/* rgb */ color: rgb(40, 70, 133);
/* oklch */ color: oklch(40.6% 0.112 263.2);
Tailwind
colors: {
  custom: {
    50: '#6d79a9',
    500: '#284685',
    950: '#000000',
  },
}
SCSS
$custom: #284685;
$custom-light: #6d79a9;
$custom-dark: #000000;
JSON
{
  "hex": "#284685",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 133
  },
  "hsl": {
    "h": 220.645,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40634,
    "c": 0.11155,
    "h": 263.2
  },
  "luminance": 0.06525
}

Semantic roles & 50–950 ramp

primary
#284685
secondary
#B39556
accent
#AE4BDD
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #284685

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

Preview Lab → · Contrast checker → · Palette generator →

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