#284995#284995

#284995 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.131 H 264.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#284995
RGBrgb(40, 73, 149)
HSLhsl(222, 58%, 37%)
HSVhsv(222, 73%, 58%)
CMYKcmyk(73.2%, 51%, 0%, 41.6%)
CIE-LABlab(32.67, 15.39, -45.35)
CIE-LCHlch(32.67, 47.89, 288.75°)
OKLaboklab(42.49% -0.0137 -0.1303)
OKLCHoklch(42.49% 0.131 264)
XYZxyz(8.6805, 7.3852, 29.3960)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284995 #957428
analogous
#288095 #284995 #3E2895
triadic
#284995 #952849 #499528
tetradic
#284995 #952880 #957428 #28953E
square
#284995 #952880 #957428 #28953E
split-complementary
#284995 #953E28 #809528
monochromatic
#0E1A35 #1B3165 #284995 #3561C5 #6285D5

Accessibility & contrast

On white

8.48
#284995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#284995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284995
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284995#FFFFFF#000000##FFFFFF
##2849951.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5298
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #284995;
/* rgb */ color: rgb(40, 73, 149);
/* oklch */ color: oklch(42.5% 0.131 264.0);
Tailwind
colors: {
  custom: {
    50: '#717bb5',
    500: '#284995',
    950: '#000000',
  },
}
SCSS
$custom: #284995;
$custom-light: #717bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#284995",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 149
  },
  "hsl": {
    "h": 221.835,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42491,
    "c": 0.13099,
    "h": 264
  },
  "luminance": 0.07386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #284995

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

Preview Lab → · Contrast checker → · Palette generator →

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