#284395#284395

#284395 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.139 H 266.5°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#284395
RGBrgb(40, 67, 149)
HSLhsl(225, 58%, 37%)
HSVhsv(225, 73%, 58%)
CMYKcmyk(73.2%, 55%, 0%, 41.6%)
CIE-LABlab(30.96, 19.46, -48.11)
CIE-LCHlch(30.96, 51.90, 292.02°)
OKLaboklab(41.19% -0.0085 -0.1385)
OKLCHoklch(41.19% 0.139 266.5)
XYZxyz(8.3051, 6.6345, 29.2708)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284395 #957A28
analogous
#287995 #284395 #442895
triadic
#284395 #952843 #439528
tetradic
#284395 #952879 #957A28 #289544
square
#284395 #952879 #957A28 #289544
split-complementary
#284395 #954428 #799528
monochromatic
#0E1835 #1B2D65 #284395 #3559C5 #627FD5

Accessibility & contrast

On white

9.02
#284395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#284395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284395
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284395#FFFFFF#000000##FFFFFF
##2843951.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024E98
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #284395;
/* rgb */ color: rgb(40, 67, 149);
/* oklch */ color: oklch(41.2% 0.139 266.5);
Tailwind
colors: {
  custom: {
    50: '#7176b5',
    500: '#284395',
    950: '#000000',
  },
}
SCSS
$custom: #284395;
$custom-light: #7176b5;
$custom-dark: #000000;
JSON
{
  "hex": "#284395",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 149
  },
  "hsl": {
    "h": 225.138,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41194,
    "c": 0.13876,
    "h": 266.5
  },
  "luminance": 0.06635
}

Semantic roles & 50–950 ramp

primary
#284395
secondary
#BBA45E
accent
#BB47E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #284395

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

Preview Lab → · Contrast checker → · Palette generator →

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