#284095#284095

#284095 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.143 H 267.6°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#284095
RGBrgb(40, 64, 149)
HSLhsl(227, 58%, 37%)
HSVhsv(227, 73%, 58%)
CMYKcmyk(73.2%, 57%, 0%, 41.6%)
CIE-LABlab(30.13, 21.50, -49.47)
CIE-LCHlch(30.13, 53.94, 293.49°)
OKLaboklab(40.57% -0.0059 -0.1425)
OKLCHoklch(40.57% 0.143 267.6)
XYZxyz(8.1314, 6.2870, 29.2129)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284095 #957D28
analogous
#287795 #284095 #472895
triadic
#284095 #952840 #409528
tetradic
#284095 #952877 #957D28 #289547
square
#284095 #952877 #957D28 #289547
split-complementary
#284095 #954728 #779528
monochromatic
#0E1735 #1B2B65 #284095 #3555C5 #627CD5

Accessibility & contrast

On white

9.30
#284095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284095
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284095#FFFFFF#000000##FFFFFF
##2840951.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #284095;
/* rgb */ color: rgb(40, 64, 149);
/* oklch */ color: oklch(40.6% 0.143 267.6);
Tailwind
colors: {
  custom: {
    50: '#7174b5',
    500: '#284095',
    950: '#000000',
  },
}
SCSS
$custom: #284095;
$custom-light: #7174b5;
$custom-dark: #000000;
JSON
{
  "hex": "#284095",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 149
  },
  "hsl": {
    "h": 226.789,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40566,
    "c": 0.14265,
    "h": 267.6
  },
  "luminance": 0.06288
}

Semantic roles & 50–950 ramp

primary
#284095
secondary
#BBA65E
accent
#BF47E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #284095

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

Preview Lab → · Contrast checker → · Palette generator →

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