#284094#284094

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

Color values

HEX#284094
RGBrgb(40, 64, 148)
HSLhsl(227, 57%, 37%)
HSVhsv(227, 73%, 58%)
CMYKcmyk(73%, 56.8%, 0%, 42%)
CIE-LABlab(30.05, 21.12, -48.98)
CIE-LCHlch(30.05, 53.34, 293.32°)
OKLaboklab(40.48% -0.006 -0.1411)
OKLCHoklch(40.48% 0.141 267.6)
XYZxyz(8.0519, 6.2552, 28.7943)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284094 #947C28
analogous
#287694 #284094 #462894
triadic
#284094 #942840 #409428
tetradic
#284094 #942876 #947C28 #289446
square
#284094 #942876 #947C28 #289446
split-complementary
#284094 #944628 #769428
monochromatic
#0E1634 #1B2B64 #284094 #3555C4 #627BD5

Accessibility & contrast

On white

9.33
#284094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#284094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284094
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284094#FFFFFF#000000##FFFFFF
##2840941.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #284094;
/* rgb */ color: rgb(40, 64, 148);
/* oklch */ color: oklch(40.5% 0.141 267.6);
Tailwind
colors: {
  custom: {
    50: '#7174b4',
    500: '#284094',
    950: '#000000',
  },
}
SCSS
$custom: #284094;
$custom-light: #7174b4;
$custom-dark: #000000;
JSON
{
  "hex": "#284094",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 148
  },
  "hsl": {
    "h": 226.667,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40483,
    "c": 0.14123,
    "h": 267.6
  },
  "luminance": 0.06256
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #284094

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

Preview Lab → · Contrast checker → · Palette generator →

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