#284895#284895

#284895 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.132 H 264.4°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#284895
RGBrgb(40, 72, 149)
HSLhsl(222, 58%, 37%)
HSVhsv(222, 73%, 58%)
CMYKcmyk(73.2%, 51.7%, 0%, 41.6%)
CIE-LABlab(32.38, 16.07, -45.82)
CIE-LCHlch(32.38, 48.55, 289.32°)
OKLaboklab(42.27% -0.0128 -0.1316)
OKLCHoklch(42.27% 0.132 264.4)
XYZxyz(8.6153, 7.2549, 29.3742)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284895 #957528
analogous
#287F95 #284895 #3E2895
triadic
#284895 #952848 #489528
tetradic
#284895 #95287F #957528 #28953E
square
#284895 #95287F #957528 #28953E
split-complementary
#284895 #953E28 #7F9528
monochromatic
#0E1935 #1B3165 #284895 #355FC5 #6284D5

Accessibility & contrast

On white

8.57
#284895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#284895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284895
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284895#FFFFFF#000000##FFFFFF
##2848951.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195198
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #284895;
/* rgb */ color: rgb(40, 72, 149);
/* oklch */ color: oklch(42.3% 0.132 264.4);
Tailwind
colors: {
  custom: {
    50: '#717ab5',
    500: '#284895',
    950: '#000000',
  },
}
SCSS
$custom: #284895;
$custom-light: #717ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#284895",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 149
  },
  "hsl": {
    "h": 222.385,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42271,
    "c": 0.13227,
    "h": 264.4
  },
  "luminance": 0.07256
}

Semantic roles & 50–950 ramp

primary
#284895
secondary
#BB9F5E
accent
#B447E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #284895

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

Preview Lab → · Contrast checker → · Palette generator →

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